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
kintone リサーチ副部/UXリサーチャー 業務紹介
cybozuinsideout
PRO
0
28
サイボウズ 開発本部採用ピッチ / Cybozu Engineer Recruit
cybozuinsideout
PRO
10
77k
私たちが『JaSST協賛』から『外部コネクト』チームになった理由
cybozuinsideout
PRO
0
180
LLMでもいつものテスト技術〜意外と半分はこれまでのテストでした〜
cybozuinsideout
PRO
1
460
kintone開発のプラットフォームエンジニアの紹介
cybozuinsideout
PRO
0
1k
LLMアプリの品質保証
cybozuinsideout
PRO
1
450
技術広報チームに丸投げしない!「一緒につくる」スポンサー活動
cybozuinsideout
PRO
0
210
テクニカルライター (グループウェア) について
cybozuinsideout
PRO
0
170
つけまが降ってきた日
cybozuinsideout
PRO
1
640
Other Decks in Programming
See All in Programming
RailsのValidatesをSwift Macrosで再現してみた
hokuron
0
150
Cyrius ーLinux非依存にコンテナをネイティブ実行する専用OSー
n4mlz
0
270
KagglerがMixSeekを触ってみた
morim
0
360
AI活用のコスパを最大化する方法
ochtum
0
360
ポーリング処理廃止によるイベント駆動アーキテクチャへの移行
seitarof
3
1.3k
Strategy for Finding a Problem for OSS: With Real Examples
kibitan
0
130
「効かない!」依存性注入(DI)を活用したAPI Platformのエラーハンドリング奮闘記
mkmk884
0
290
Reactive ❤️ Loom: A Forbidden Love Story
franz1981
2
210
仕様漏れ実装漏れをなくすトレーサビリティAI基盤のご紹介
orgachem
PRO
8
4k
我々はなぜ「層」を分けるのか〜「関心の分離」と「抽象化」で手に入れる変更に強いシンプルな設計〜 #phperkaigi / PHPerKaigi 2026
shogogg
2
750
安いハードウェアでVulkan
fadis
1
870
AI 開発合宿を通して得た学び
niftycorp
PRO
0
190
Featured
See All Featured
Optimising Largest Contentful Paint
csswizardry
37
3.6k
Between Models and Reality
mayunak
2
250
Money Talks: Using Revenue to Get Sh*t Done
nikkihalliwell
0
200
Practical Orchestrator
shlominoach
191
11k
The Organizational Zoo: Understanding Human Behavior Agility Through Metaphoric Constructive Conversations (based on the works of Arthur Shelley, Ph.D)
kimpetersen
PRO
0
290
AI in Enterprises - Java and Open Source to the Rescue
ivargrimstad
0
1.2k
The Web Performance Landscape in 2024 [PerfNow 2024]
tammyeverts
12
1.1k
Faster Mobile Websites
deanohume
310
31k
Context Engineering - Making Every Token Count
addyosmani
9
790
End of SEO as We Know It (SMX Advanced Version)
ipullrank
3
4.1k
State of Search Keynote: SEO is Dead Long Live SEO
ryanjones
0
170
Six Lessons from altMBA
skipperchong
29
4.2k
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 ) ,