Linux常用命令集

來源:互聯網
上載者:User
命令動詞 簡要說明
cd directory 進入指定的目錄
cd .. 進入上一級目錄
cd /directory 進入目錄
cd 進入使用者自己的目錄
cp file_from file_to 拷貝檔案
ln [-s] source linkname 為一個檔案建立連結
ls [directory] 查看指定目錄下的檔案
ls -l [directory] 查看指定目錄下檔案的詳細
ls -a [directory] 查看指定目錄下的所有檔案
mkdir new_directory 建一個新目錄
more file 查看一個文字檔的內容
rm file 刪除一個檔案
rm -r directory 刪除一個目錄
rmdir directory 刪除一個目錄
find . -name "file" 從目前的目錄開始尋找指定的檔案
adduser 建立新使用者
alias 設定別名或替代名
bg fg 使掛起的進程繼續運行
ps ax 查詢當前進程
mount 串連檔案系統
more less 瀏覽檔案內容
chown chgrp 改變檔案的擁有者
chmod 改變檔案屬性
halt 關閉系統
man 顯示手冊頁
passwd 改變使用者口令
grep 尋找字串
find 尋找檔案
dd 複製磁碟或檔案系統
kill 殺掉一個進程
killall 殺掉進程
相關文章

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.