Linux使用基本概念


Linux和windows不同點:
Linux將所有的硬體或資料都看做是一個檔案
LinuxWindows
directory tree目錄樹磁區 eg.C、D、E...
所有架構從/(根目錄)開始
"/"掛載硬碟→配置目錄(掛載即設定大小)→將檔案放於目錄中
硬碟→切成磁區→磁區存放檔案


Linux目錄介紹






Linux基本需配置的目錄
/與開機、還原、系統修復有關
/boot放置開機會使用到的檔案
/usrusr=Unix Software Resource
放置Unix作業系統軟體資源
/home使用者家目錄,每個使用者會有一個
/var放置常態性變動檔案。eg.cache、log file、run file...
Linux的目錄配置可依據FHS標準,但不同的Linux distributions會有一些異同點

Linux的副檔名意義


LICENSE :
LICENSE in all caps is a really common name for software licenses on Linux and other systems.
LICENSE  is usually written in legalese but technically that is plain text.
(LICENSE通常是用法律術語編寫的,但從技術上來說就是純文本。)

§ plain text (純文本) <=> formatted text (格式化文本)
★ legalese (法律措辭)、caps (大寫)

pem:
pem turns out this format was created for an old project called privacy enhanced mail.
That project didn't go much of anywhere but the file format stuck around and we still use if.
A lot of crypto keys are stored in files with names ending in pem .
The keys for ssh for SSL web servers are usually in pem files.
(SSL Web服務器中的ssh密鑰通常用pem作為儲存格式)

§ privacy enhanced mail (私密性增強郵件)
★ crypto keys (加密密鑰)




/tr>
Linux的基本終端機指令
查詢指令使用方式man 查詢指令
下頁space
離開讀取中的文件q
強制中斷目前執行程式ctrl+c
離開文字介面ctrl+dexit
命令補全tab
查詢目前系統使用者who
網路連線狀態netstat -a
背景執行緒ps-aux
關機shutdownreboot
資料同步寫到硬碟中sync
返回主目錄cd



參考資料:
Linux Command Line Basics

No comments:

Post a Comment