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
2
38k
2018-04-Ubuntu Linux基礎 / 2018-04 Ubuntu
Cybozu
PRO
July 02, 2018
Tweet
Share
More Decks by Cybozu
See All by Cybozu
つけまが降ってきた日
cybozuinsideout
PRO
1
410
「行ってよかった!」をみんなに広げる
cybozuinsideout
PRO
0
150
不具合の先にある面白さ~配属3か月目の新卒QAのいま~
cybozuinsideout
PRO
0
400
kintone開発チームの紹介
cybozuinsideout
PRO
1
84k
kintone開発のプラットフォームエンジニアの紹介
cybozuinsideout
PRO
0
430
AIツール開発ワークショップ(Dify)【サイボウズ新人研修2025】
cybozuinsideout
PRO
22
26k
モバイル【サイボウズ新人研修2025】
cybozuinsideout
PRO
3
4.5k
Git/GitHub を使う上で知っておくと嬉しいかも Tips【サイボウズ新人研修2025】
cybozuinsideout
PRO
16
12k
GitHub Copilot活用【サイボウズ新人研修2025】
cybozuinsideout
PRO
15
16k
Other Decks in Programming
See All in Programming
tsgolintはいかにしてtypescript-goの非公開APIを呼び出しているのか
syumai
7
2.4k
SwiftUIで本格音ゲー実装してみた
hypebeans
0
510
Cap'n Webについて
yusukebe
0
150
從冷知識到漏洞,你不懂的 Web,駭客懂 - Huli @ WebConf Taiwan 2025
aszx87410
2
3.1k
Combinatorial Interview Problems with Backtracking Solutions - From Imperative Procedural Programming to Declarative Functional Programming - Part 2
philipschwarz
PRO
0
120
[AtCoder Conference 2025] LLMを使った業務AHCの上⼿な解き⽅
terryu16
6
880
まだ間に合う!Claude Code元年をふりかえる
nogu66
5
910
著者と進める!『AIと個人開発したくなったらまずCursorで要件定義だ!』
yasunacoffee
0
160
認証・認可の基本を学ぼう後編
kouyuume
0
250
フルサイクルエンジニアリングをAI Agentで全自動化したい 〜構想と現在地〜
kamina_zzz
0
310
AIコーディングエージェント(Manus)
kondai24
0
230
TerraformとStrands AgentsでAmazon Bedrock AgentCoreのSSO認証付きエージェントを量産しよう!
neruneruo
4
1.9k
Featured
See All Featured
End of SEO as We Know It (SMX Advanced Version)
ipullrank
2
3.8k
Primal Persuasion: How to Engage the Brain for Learning That Lasts
tmiket
0
190
Evolving SEO for Evolving Search Engines
ryanjones
0
77
Distributed Sagas: A Protocol for Coordinating Microservices
caitiem20
333
22k
The Myth of the Modular Monolith - Day 2 Keynote - Rails World 2024
eileencodes
26
3.3k
We Are The Robots
honzajavorek
0
120
The Art of Programming - Codeland 2020
erikaheidi
56
14k
CSS Pre-Processors: Stylus, Less & Sass
bermonpainter
359
30k
jQuery: Nuts, Bolts and Bling
dougneiner
65
8.3k
Jess Joyce - The Pitfalls of Following Frameworks
techseoconnect
PRO
1
31
Chasing Engaging Ingredients in Design
codingconduct
0
89
AI in Enterprises - Java and Open Source to the Rescue
ivargrimstad
0
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 ) ,