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
Linux 極入門篇
Search
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
LJP-TW
September 25, 2021
Technology
330
1
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Linux 極入門篇
LJP-TW
September 25, 2021
More Decks by LJP-TW
See All by LJP-TW
Reverse Engineering - 1
ljptw
0
1.8k
Reverse Engineering - 2
ljptw
0
800
Reverse Engineering - 3
ljptw
0
660
Re:0 從零開始的逆向工程
ljptw
1
1.3k
Fuzzing 101
ljptw
1
250
Binary Exploitation - File Structure
ljptw
1
330
Binary Exploitation - Basic 補充篇
ljptw
1
64
Binary Exploitation - Heap
ljptw
1
200
Binary Exploitation - Basic
ljptw
1
160
Other Decks in Technology
See All in Technology
Service Connect 上のサービスに ECS Service の外側から到達できなかった話
ota1022
1
190
名刺メーカーDevグループ 紹介資料
sansan33
PRO
0
1.2k
LanceDB入門
mocobeta
3
100
トヨタ⽣産⽅式(TPS)⼊⾨
recruitengineers
PRO
3
660
Webアクセシビリティ入門 2026
recruitengineers
PRO
3
460
第3回しろおびセキュリティスポンサーセッション
log0417
0
160
LLM・AIエージェントシステムベストプラクティス
shibuiwilliam
2
630
ガバメント AI 源内を地方自治体は活用できるのか可能性と課題、期待について
takeda_h
1
370
もう一度考える SRE チームの作り方・育て方 / Rethinking SRE #1: Building and Growing SRE Teams
rrreeeyyy
6
1k
認知負荷をGemini で溶かす — GKE 基盤「Orbit」における AI エージェントの実践
sansantech
PRO
1
270
Eight Engineering Unit 紹介資料
sansan33
PRO
3
8.1k
研究開発部の紹介 / Sansan R&D Profile
sansan33
PRO
4
24k
Featured
See All Featured
Between Models and Reality
mayunak
4
390
Why Your Marketing Sucks and What You Can Do About It - Sophie Logan
marketingsoph
0
360
Avoiding the “Bad Training, Faster” Trap in the Age of AI
tmiket
0
200
Agile Leadership in an Agile Organization
kimpetersen
PRO
0
200
Responsive Adventures: Dirty Tricks From The Dark Corners of Front-End
smashingmag
254
22k
Color Theory Basics | Prateek | Gurzu
gurzu
0
410
Marketing Yourself as an Engineer | Alaka | Gurzu
gurzu
0
270
The Spectacular Lies of Maps
axbom
PRO
1
890
Jamie Indigo - Trashchat’s Guide to Black Boxes: Technical SEO Tactics for LLMs
techseoconnect
PRO
0
590
XXLCSS - How to scale CSS and keep your sanity
sugarenia
249
1.3M
HU Berlin: Industrial-Strength Natural Language Processing with spaCy and Prodigy
inesmontani
PRO
0
630
AI Search: Where Are We & What Can We Do About It?
aleyda
0
7.8k
Transcript
Linux 極入門篇 2021/09/25 Presented by LJP
# whoami • LJP / LJP-TW • 台科大 交大碩班
• CTF 戰隊 10sec 隊員 2
來跟大家簡單聊聊... • Linux 是什麼 • Ubuntu 介面 • 用終端機敲幾個常用指令 •
幾個常用的工具程式 • 各種再深入一小點點的 Linux 知識 3
Linux 介紹 4
Linux 是什麼? • 一種作業系統 • 有各式各樣的發行版, 各有各的特別之處 Ubuntu Kali Arch
5
Linux 可以幹嘛? • 你可能會問我說 「Windows 跟 Linux 哪個比較好?」 • 我會說看你要做什麼事情
• 舉例來說哩? 6
• 論打英雄聯盟、 APEX、 CSGO Linux 可以幹嘛? 7
• 論架伺服器 Linux 可以幹嘛? 8
給你看看 Linus • Linus Benedict Torvalds • Linux 的老爸 •
Talk is cheap. Show me the code. 9 Ref: https://lkml.org/lkml/2000/8/25/132
給你看看 Tux • Linux 的吉祥物企鵝 • 動物這麼多,為何吉祥物挑企鵝呢? • 這就要問 Linus
大大了 10 Ref: https://www.youtube.com/watch?v=jYUZAF3ePFE
初探 Ubuntu - 逛一下 GUI 介面 直接進入 Demo 環節 11
Linux 常用指令 12
Linux 常用指令 13 • 在 Linux 裡面打指令, 按 tab 就有機會直接補全整條指令
• 一開始你排斥, 後來你習慣, 最後你離不開, 這就是 TAB 補全
Linux 常用指令 • mkdir • 建立目錄 • cd • 移動
• ls • 條列目錄 • touch • 建立檔案 14 • echo • 回音(? • cat • 看檔案內容 • mv • 搬檔案 • cp • 複製檔案 • rm • 刪除檔案 • sudo • 提升權限 • apt / apt-get • 套件管理 • dpkg • 套件管理
Linux 常用指令 • xxd • matrix (? • nyancat (????
15
Linux 常用指令 • 非常推薦看一下鳥哥 vbird 的網站 • http://linux.vbird.org/linux_basic/ • 照著網站中的
Linux 基礎文件裡的章節走就能學 Linux 16
Linux 常用工具程式 17
Linux 常用工具程式 • 時間很少, 如果來不及 demo, 那就當作留給大家關鍵字去查 18
Linux 常用工具程式 • 用 Linux 理所當然要會基本的 vim 操作 • 不會離開
vim 超哭的 19
Linux 常用工具程式 • 想讓終端機更炫泡嗎 • zsh • 搭配 oh my
zsh • https://ohmyz.sh/ 20
Linux 常用工具程式 • 想開多個終端機, 但開太多視窗覺得太醜? • tmux 幫你分割終端機內部畫面 21
Linux 各種知識 22
script • 中文直翻腳本, 通常拿來寫一些簡單的程式 • 檔案開頭 • #!<程式> 23
Linux 各種知識 • 再次強調課堂時間很少 • 但你自學時間很多 • 如果講不完, 就當作提供幾個關鍵字讓大家去查 24
File Descriptor • 簡稱 fd • 在 Linux 的世界, 萬物皆是檔案
• File Descriptor 用來代表檔案 (代表萬物) • /proc/<pid>/fd • 直接進 DEMO 25
Linux 檔案系統 目錄配置 • /etc • /bin • /dev •
/lib • /sbin • /tmp 26
Linux 重要檔案 • /etc/passwd • /etc/shadow • /etc/group • /etc/sudoers
27
Linux 特殊權限 • SUID • SGID • SBIT 28
環境變數 PATH • env • which 29
30 Q & A
31 感謝收聽 疫情期間 少出門 勤洗手