Linux基本命令

2022-09-09 21:33:35 字數 482 閱讀 1850

cd 切換目錄

pwd  顯示當前工作的絕對目錄

ls  :( [list的縮寫,檢視列表]    檢視當前目錄的所有列表)

touch ([tʌtʃ] 建立檔案)

ps -e | more  (檢視程序)

kill -9 12231    (殺死程序)

cat (concatenate 檢視檔案內容)

more (更多,分頁檢視檔案命令)

cp (copy 複製)

mv(move單詞縮寫 移動功能)

rm (remove 移除功能  刪除檔案或資料夾)

find (查詢功能  查詢指定檔案或目錄)

vi  文字編輯器,類似win的記事本

vim 改進版文字編輯器

tar (壓縮解壓)

ps (process status: 程序狀態,類似win的任務管理器)

grep (['grep] 正規表示式 用於搜尋功能)

linux基本命令

linux常用命令 基礎 eg man ls 就可以檢視ls相關的用法 注 按q鍵或者ctrl c退出,在linux下可以使用ctrl c終止當前程式執行。2.ls 檢視目錄或者檔案的屬 列舉出任一目錄下面的檔案 eg ls usr man ls l a.d表示目錄 directory 如果是乙個 ...

《linux基本命令》

博主部落格 斷橋殘雪 uname 顯示版本資訊 同win2k的 ver dir 顯示當前目錄檔案,ls al 顯示包括隱藏檔案 同win2k的 dir pwd 查詢當前所在的目錄位置 cd cd 回到上一層目錄,注意cd 與.之間有空格。cd 返回到根目錄。cat 檔名 檢視檔案內容 cat abc...

LINUX 基本命令

檔案和目錄操作的基本命令 cat clear cmp cut diff du emacs fgrep file grep head ln less more pico pwd sort stat strings tail touch umask uniq vi wc whatis ls ls 選項 ...