殺程式
- ctrl + c
- ctrl + d
安裝程式
- apt-get install (程式的名子)
搜尋程式
- apt-cache search (程式的名子)
ex:
- apt-cache search pip
- apt-cache search pip | grep
- apt-cache search pip | grep f (包含f字母的資訊)
編輯
- vi a.txt
讀檔
- cat a.txt
顯示
- nl a.txt
- nl a.txt | grep 1 (把有1的行圈出來)
- (nl a.txt 是一個input,餵給|右邊的 grep 1 )
歷史紀錄(打過的指令)
- history | tail
安裝django
- sudo pip3 install django
沒有留言:
張貼留言