Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
2018-04-Ubuntu Linux基礎 / 2018-04 Ubuntu
Search
Cybozu
PRO
July 02, 2018
Programming
38k
2
Share
2018-04-Ubuntu Linux基礎 / 2018-04 Ubuntu
Cybozu
PRO
July 02, 2018
More Decks by Cybozu
See All by Cybozu
新卒1年目QAが リリース基準の"なぜ"をたどってみた
cybozuinsideout
PRO
1
120
サイボウズ 開発本部採用ピッチ / Cybozu Engineer Recruit
cybozuinsideout
PRO
10
81k
kintone リサーチ副部/UXリサーチャー 業務紹介
cybozuinsideout
PRO
0
74
私たちが『JaSST協賛』から『外部コネクト』チームになった理由
cybozuinsideout
PRO
0
340
LLMでもいつものテスト技術〜意外と半分はこれまでのテストでした〜
cybozuinsideout
PRO
1
860
kintone開発のプラットフォームエンジニアの紹介
cybozuinsideout
PRO
0
1.3k
LLMアプリの品質保証
cybozuinsideout
PRO
1
620
技術広報チームに丸投げしない!「一緒につくる」スポンサー活動
cybozuinsideout
PRO
0
230
テクニカルライター (グループウェア) について
cybozuinsideout
PRO
0
210
Other Decks in Programming
See All in Programming
AI時代のUIはどこへ行く?その2!
yusukebe
19
6.5k
Migrations : C'est une question d'hygiène !
vinceamstoutz
0
3.2k
LLM本来の能力を解き放つサンドボックス技術とAI民主化への適用
yukukotani
3
2.3k
不変条件と整合性境界—ビジネスが決める設計判断と実現パターン / Invariants and Consistency Boundaries
nrslib
13
3.3k
権限チェックの一貫性を型で守る TypeScript による多層防御
mnch
4
1.1k
IBM Bobを活用したレガシーアプリの最新化
oniak3ibm
PRO
1
160
Technical Debt: Understanding it Rightly, Engaging it Rightly #LaravelLiveJP
shogogg
0
190
密結合なバックエンドから TypeScript のコードを生成する
kemuridama
1
690
jQueryをバージョンアップする前に使いたいjQuery Migrate
matsuo_atsushi
0
170
AI時代の仕事技芸論 — ソフトウェア開発で「遊ぶように働く」職人的熟達のすすめ
kuranuki
1
610
決定論的オーケストレーションの設計と実装 / Design and Implementation of Deterministic Orchestration
nrslib
3
840
さぁV100、メモリをお食べ・・・
nilpe
0
130
Featured
See All Featured
Technical Leadership for Architectural Decision Making
baasie
3
390
Reality Check: Gamification 10 Years Later
codingconduct
0
2.2k
Winning Ecommerce Organic Search in an AI Era - #searchnstuff2025
aleyda
1
2k
Build The Right Thing And Hit Your Dates
maggiecrowley
39
3.2k
The Art of Delivering Value - GDevCon NA Keynote
reverentgeek
16
2k
Large-scale JavaScript Application Architecture
addyosmani
515
110k
Improving Core Web Vitals using Speculation Rules API
sergeychernyshev
21
1.5k
Lessons Learnt from Crawling 1000+ Websites
charlesmeaden
PRO
1
1.3k
svc-hook: hooking system calls on ARM64 by binary rewriting
retrage
2
280
Measuring & Analyzing Core Web Vitals
bluesmoon
9
860
So, you think you're a good person
axbom
PRO
2
2k
Creating an realtime collaboration tool: Agile Flush - .NET Oxford
marcduiker
35
2.5k
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 ) ,