- 1、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。。
- 2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 3、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
- 4、该文档为VIP文档,如果想要下载,成为VIP会员后,下载免费。
- 5、成为VIP后,下载本文档将扣除1次下载权益。下载后,不支持退款、换文档。如有疑问请联系我们。
- 6、成为VIP后,您将拥有八大权益,权益包括:VIP文档下载权益、阅读免打扰、文档格式转换、高级专利检索、专属身份标志、高级客服、多端互通、版权登记。
- 7、VIP文档为合作方或网友上传,每下载1次, 网站将根据用户上传文档的质量评分、类型等,对文档贡献者给予高额补贴、流量扶持。如果你也想贡献VIP文档。上传文档
查看更多
Linux Command 企 鵝 指 令
Most of the following command also work on Unix.其實以下的指令大部份都可在 Unix 上運作。
Compress Decompress 壓縮及解壓
Account Management 帳號管理
Background Jobs 背景作業
Basic Operation 基本操作
File Management 檔案管理
Filters 過濾器
Login Logout 登入及登出
Modules 模組
Networking 網路工具
Setup 設定工具
System Management 系統管理
System Shutdown Restart 系統關閉及重新啟動
Compress Decompress 壓縮及解壓
指令
Description, Syntax Example 解說、語法及例子
tar
parameter 參數
-x expand the .tar file 解開 tar 檔案
-c create the tar file 打包成 tar 檔案
-z compress to / decompress from tar file 壓縮 / 解壓
-v display the output onscreen 顯示運作過程資訊
-f specify subdirectory and filename 指定子目錄與檔案
tar zxvf tarfile.tar.gzDecompress the compressed tar file to specify subdirectory and filename, display the output onscreen. * The first step to install application.
tar zcvf tarfile.tar.gz SubD/Create a compress file, SubD/ is the subdirectory to be compressed. * Useful to backup data such as user account etc...
tar ztf tarfile.tar.gzview the content of tarfile.tar.gz 檢視壓縮檔案內容
zip
Compress Files壓縮檔案
zip myfiles *.txt
unzip
Decompress Files解壓檔案
unzip myfiles
Account Management 帳號管理
指令
Description, Syntax Example 解說、語法及例子
adduser
Create user account 新增使用者帳號
adduser newuser
groupadd
Create user group 新增群組
groupadd newgroup
groupdel
Delete user group 刪除群組
group existgroup
passwd
Change password 修改密碼
su
Enable a user to temporarily become another user. Default user is root. 臨時登入成另一使用者,預設值是 root
useradd
Create user account 新增使用者帳號
useradd newuser
userdel
Delete user account 刪除使用者帳號
userdel existuser
whoami
Who am I 檢視自己的 Login Name
Background Jobs 背景作業
指令
Description, Syntax Example 解說、語法及例子
%
job number
execute the command background
bg
place the job from suspend to background
CTRL-z
interrupt a job and stop it (suspended)
fg [%n]
bring the specified job number from background to foreground
jobs
list the jobs being run in background
kill [%n]
kill the specified job number
ps
list all currently running process include background
文档评论(0)