Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
2018-04-Ubuntu Linux基礎 / 2018-04 Ubuntu
Search
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
Cybozu
PRO
July 02, 2018
Programming
38k
2
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
2018-04-Ubuntu Linux基礎 / 2018-04 Ubuntu
Cybozu
PRO
July 02, 2018
More Decks by Cybozu
See All by Cybozu
サイボウズ 開発本部採用ピッチ / Cybozu Engineer Recruit
cybozuinsideout
PRO
12
96k
新卒1年目QAが リリース基準の"なぜ"をたどってみた
cybozuinsideout
PRO
1
990
kintone リサーチ副部/UXリサーチャー 業務紹介
cybozuinsideout
PRO
0
220
私たちが『JaSST協賛』から『外部コネクト』チームになった理由
cybozuinsideout
PRO
0
640
LLMでもいつものテスト技術〜意外と半分はこれまでのテストでした〜
cybozuinsideout
PRO
1
1.2k
kintone開発のプラットフォームエンジニアの紹介
cybozuinsideout
PRO
1
1.8k
LLMアプリの品質保証
cybozuinsideout
PRO
1
920
技術広報チームに丸投げしない!「一緒につくる」スポンサー活動
cybozuinsideout
PRO
0
330
テクニカルライター (グループウェア) について
cybozuinsideout
PRO
0
330
Other Decks in Programming
See All in Programming
Railsのためのパスキー実践入門 〜マルチテナントSaaSでの意思決定〜
utakaha
4
3.4k
作れる、でも消せるか?──安全に「枯らして消す」機能削除術 / Drain, Then Delete
chobishiba
3
1.4k
조합이폭발하는디자인시스템이걸눈으로도테스트하라고요
giljongyu
0
730
Goコンパイラを作ってGoをもっと理解する / Build a Go compiler to better understand Go
ikura_hamu
0
120
小さなアプリを作って公開するまで
onozaty
0
140
느린 네트워크와 저사양 디바이스 사용자를 위한 웹뷰 로딩 시간 개선기
kmkim
1
210
當我們開始不讀 Code - AI Agent 時代,Code Review 與 Clean Code 還剩下什麼?
jame2408
1
360
PumaからFalconに移行したRailsアプリケーションでの実践
falcon8823
0
360
Augmenting AI with the Power of Jakarta EE
ivargrimstad
0
160
Crash Auto Pipelines
veronikapj
1
390
Spec-driven Development with AI
simas
PRO
0
2.3k
baseline으로 마이그레이션, 리팩토링 안전하게 맡기기
fornewid
1
920
Featured
See All Featured
Measuring Dark Social's Impact On Conversion and Attribution
stephenakadiri
2
320
From π to Pie charts
rasagy
1
440
BBQ
matthewcrist
90
10k
Leading Effective Engineering Teams in the AI Era
addyosmani
9
2.8k
The Myth of the Modular Monolith - Day 2 Keynote - Rails World 2024
eileencodes
28
3.8k
Ecommerce SEO: The Keys for Success Now & Beyond - #SERPConf2024
aleyda
1
2.2k
Music & Morning Musume
bryan
48
7.5k
Docker and Python
trallard
47
4.3k
Taking LLMs out of the black box: A practical guide to human-in-the-loop distillation
inesmontani
PRO
3
2.5k
Sharpening the Axe: The Primacy of Toolmaking
bcantrill
46
3.1k
SEOcharity - Dark patterns in SEO and UX: How to avoid them and build a more ethical web
sarafernandez
0
320
Introduction to Domain-Driven Design and Collaborative software design
baasie
1
1.1k
Transcript
1 0 2
=0 12 S 4 6 l l =
1 1 . 2 L4 6 l l lsb_release -a l 2
l
l
cd /usr/share/doc l /usr/share/doc pwd l cd
l ls l l ls -a, ls -F, ls -l
mkdir foo l cd foo touch bar l
l cd .. l
tree sudo apt install tree tree . l .
l .
rmdir foo l D l ' ' '
l D rm foo/bar l foo/bar rmdir foo l :
None
mkdir hoge touch hoge/piyo rm -r hoge
l hoge " l !" sudo rm -rf /
, l less more lv l q
l l b l ls -l /etc | less
less /etc/passwd l #! l %30 % /etc/shadow sudo
less /etc/shadow l %'2,"1+ l '2," &-)/*. ( less /etc/group l $ !
nano l sudo apt install nano l S CV
l E vim emacs l E l C ( + + E + , )+ )
man ls l man nano
id -a l D I l
S l S O S l sudo less
/etc/shadow 0 l sudo id -a 0
ls -l /etc/shadow l -rw-r----- 1 root shadow
978 Feb 6 14:30 /etc/shadow cd; cp /etc/shadow ./ l shadow l ' / / / l P : P -rw-r----- root shadow 978
!# 3- )& "3- )& ./%
'0 l ,5*" 1 2+ !# $.(4 -|rw-|r--|--- ",5* ",5" 1
sudo cp /etc/shadow ./ l root
shadow l cp & # !')root & # !$ %" ls –l ./shadow l -rw-r----- 1 root root 978 Jun 29 17:46 ./shadow sudo chmod 664 ./shadow l 664 l 1=x, 2=w, 4=r *(6=2+4=rw ls –l ./shadow l -rw-rw-r-- 1 root root 978 Jun 29 17:46 ./shadow
less ./shadow l
touch ./shadow l touch: cannot touch 'shadow': Permission denied l ! " sudo chown kota_uchida ./shadow l # kota_uchida ! ls –l ./shadow l -rw-rw-r-- 1 kota_uchida root 978 Jun 29 17:46 ./shadow touch ./shadow l
I 0 -
man 5 interfaces l D man man sudo nano /etc/network/interfaces
auto eth0 iface eth0 inet static address I 12 5 netmask 255.255.240.0 gateway dns-nameservers
sudo reboot l reboot ifdown ifup sudo ifdown
eth0; sudo ifup eth0 ssh l !
OS d OS d ps ux
l OS sudo ps auxwwe | less l OS l e kill PID l OS OS S l a OS l kill -9 -1
$ cat > sleep_echo.sh
#!/bin/sh sleep $1 echo hello $ chmod +x sleep_echo.sh
C 0
l ./sleep_echo.sh 10 l C l / l fg/bg C Z l jobs 1 + ./sleep_echo.sh 10 & l +
l 0 P true 0false P
S l true l echo $? l false l echo $? l set -e l false $? "
None
l a e l ( () d3
man 3 daemon l sudo apt install manpages-dev l man 3 daemon
0 - cn b : : Wa U 0
- h ld i m b je l / 6 -. 16 . - /.- 0 1 2 . # -. .2 6 . -. -. .2 6 . -. / 2 0 - 20 :
l man bash l sudo apt install
bash-doc; info bash ) ( l chsh l ) ,