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
LJP-TW
September 25, 2021
Technology
1
280
Linux 極入門篇
LJP-TW
September 25, 2021
Tweet
Share
More Decks by LJP-TW
See All by LJP-TW
Reverse Engineering - 1
ljptw
0
1.6k
Reverse Engineering - 2
ljptw
0
710
Reverse Engineering - 3
ljptw
0
560
Re:0 從零開始的逆向工程
ljptw
1
1.1k
Fuzzing 101
ljptw
1
170
Binary Exploitation - File Structure
ljptw
1
280
Binary Exploitation - Basic 補充篇
ljptw
1
44
Binary Exploitation - Heap
ljptw
1
150
Binary Exploitation - Basic
ljptw
1
110
Other Decks in Technology
See All in Technology
「最速」で Gemini CLI を使いこなそう! 〜Cloud Shell/Cloud Run の活用〜 / The Fastest Way to Master the Gemini CLI — with Cloud Shell and Cloud Run
aoto
PRO
1
170
Copilot Studio ハンズオン - 生成オーケストレーションモード
tomoyasasakimskk
0
210
Claude Code Subagents 再入門 ~cc-sddの実装で学んだこと~
gotalab555
10
17k
[VPoE Global Summit] サービスレベル目標による信頼性への投資最適化
satos
0
220
現場データから見える、開発生産性の変化コード生成AI導入・運用のリアル〜 / Changes in Development Productivity and Operational Challenges Following the Introduction of Code Generation AI
nttcom
1
450
混合雲環境整合異質工作流程工具運行關鍵業務 Job 的經驗分享
yaosiang
0
160
SQLAlchemy の select(User).where(User.id =="123") を理解してみる/sqlalchemy deep dive
3l4l5
3
300
Azureコストと向き合った、4年半のリアル / Four and a half years of dealing with Azure costs
aeonpeople
1
260
会社を支える Pythonという言語戦略 ~なぜPythonを主要言語にしているのか?~
curekoshimizu
3
610
CNCFの視点で捉えるPlatform Engineering - 最新動向と展望 / Platform Engineering from the CNCF Perspective
hhiroshell
0
140
今この時代に技術とどう向き合うべきか
gree_tech
PRO
2
2.2k
知覚とデザイン
rinchoku
1
360
Featured
See All Featured
Building a Scalable Design System with Sketch
lauravandoore
463
33k
The Success of Rails: Ensuring Growth for the Next 100 Years
eileencodes
46
7.7k
The MySQL Ecosystem @ GitHub 2015
samlambert
251
13k
The Art of Delivering Value - GDevCon NA Keynote
reverentgeek
16
1.7k
Git: the NoSQL Database
bkeepers
PRO
431
66k
Exploring the Power of Turbo Streams & Action Cable | RailsConf2023
kevinliebholz
36
6.1k
Faster Mobile Websites
deanohume
310
31k
How To Stay Up To Date on Web Technology
chriscoyier
791
250k
The Power of CSS Pseudo Elements
geoffreycrofte
79
6k
RailsConf & Balkan Ruby 2019: The Past, Present, and Future of Rails at GitHub
eileencodes
140
34k
Build The Right Thing And Hit Your Dates
maggiecrowley
37
2.9k
Chrome DevTools: State of the Union 2024 - Debugging React & Beyond
addyosmani
9
930
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 感謝收聽 疫情期間 少出門 勤洗手