linux的系统命令大全及使用方法详解.pdf
文本预览下载声明
Linux ()
(: )
个 个 cat cd
个 个 chmod chown
个 个 cp cut
个 个 cat
个 个
个 个 cat [-AbeEnstTuv] [--help] [--version] fileName
个 个 fileName
个 个
个 个 -n --number 1
个 个 -b --number-nonblank -n ,
个 个 -s --squeeze-blank ,
个 个 -v --show-nonprinting
个 个
个 个 cat -n textfile1 textfile2 textfile1 textfile2
个 个 cat -b textfile1 textfile2 textfile3 textfile1 textfile2
textfile3
个 个 :cd
个 个 :
个 个 :cd [dirName]
个 个 : dirName dirName
, home directory ( login ).,~
home directory ,. ,..
个 个 : /usr/bin/:
个 个 cd /usr/bin
个 个 home directory:
个 个 cd ~
个 个 :
个 个 cd ../..
个 个 :chmod
个 个 :
个 个 :chmod [-cfvR] [--help] [--version] mode file...
个 个 :Linux/Unix :,, chmod
个 个 :
个 个 mode:,:[ugoa...][[+-=][rwxX]...][,...], u
,g (group),o ,a
个 个 + ,- ,=
个 个 r ,w ,x ,X
个 个 -c:,
个 个 -f:
个 个 -v:
个 个 -R:()
个 个 --help:
个 个 --version:
个 个 : file1.txt :
个 个 chmod ugo+r file1.txt
个 个 file1.txt :
个 个 chmod a+r file1.txt
个 个 file1.txt file2.txt ,,
:
个 个 chmod ug+w,o-w file1.txt file2.txt
个 个 ex1.py :
个 个 chmod u+x ex1.py
个 个 :
个 个 chmod -R a+r *
个 个 chmod chmod 777 file
个 个 chmod abc file
个 个 a,b,c ,User,Group,Other
个 个 r=4,w=2,x=1
个 个 rwx 4+2+1=7
个 个 rw-4+2=6
个 个 r-x 4+1=7
个 个
个 个 chmod a=rwx file
个 个
个 个 chmod 777 file
个 个
个 个 chmod ug=rwx,o=x file
个 个
个 个 chmod 771 file
个 个
个 个 chmod 4755 filename root
个 个 :chown
个 个 :root
个 个 :chmod [-cfhvR] [--help] [--version] user[:group] file...
个 个 :Linux/Unix , chown
,(root),
,
(root)
个 个 :
个 个 user: IDgroup:(
显示全部