送给初学Linux的穷人Linux系统指令大全

整理文档很辛苦,赏杯茶钱您下走!

免费阅读已结束,点击下载阅读编辑剩下 ...

阅读已结束,您可以下载文档离线阅读编辑

资源描述

LinuxLinuxLinuxLinuxLinuxLinux://://:cd:chmod:chowncpcut:findless:lnlocate:lsmoremvrmrmdirsplittouch:atcal:crontab:date:sleeptimeuptimechfnchshfingerlast:loginpasswd:who/etc/aliasesmailmesg/etc/aliases:talk:wall:writekillnicepspstreerenicetopskillexpr:trclear:lprmfdformatmformatmkdosfsLinux:2006-11-2022:45:51cat[-AbeEnstTuv][--help][--version]fileNamefileName-n--number1-b--number-nonblank-n-s--squeeze-blank-v--show-nonprintingcat-ntextfile1textfile2textfile1textfile2cat-btextfile1textfile2textfile3textfile1textfile2textfile3:cd:2006-11-2022:46:18::cd[dirName]:dirNamedirNamehomedirectory(login)~homedirectory...:/usr/bin/:cd/usr/binhomedirectory:cd~:cd../..:chmod:2006-11-2022:46:44::chmod[-cfvR][--help][--version]modefile...:Linux/Unix:chmod:mode::[ugoa...][[+-=][rwxX]...][,...]ug(group)oa+-=rwxX-c:-f:-v:-R:()--help:--version::file1.txt:chmodugo+rfile1.txtfile1.txt:chmoda+rfile1.txtfile1.txtfile2.txt:chmodug+w,o-wfile1.txtfile2.txtex1.py:chmodu+xex1.py:chmod-Ra+r*chmodchmod777filechmodabcfilea,b,cUserGroupOtherr=4w=2x=1rwx4+2+1=7rw-4+2=6r-x4+1=7chmoda=rwxfilechmod777filechmodug=rwx,o=xfilechmod771filechmod4755filenameroot:chown:2006-11-2022:47:06:root:chmod[-cfhvR][--help][--version]user[:group]file...:Linux/Unixchown(root)(root):user:IDgroup:(group)-c:-f:-h:(link)link-v:-R:()--help:--version::file1.txtusersjessie:chownjessie:usersfile1.txtuserslamport:chmod-Rlamport:users*:2006-11-2022:47:27cp[options]sourcedestcp[options]source...directoryG-a-rsource-faaa()bbb:cpaaabbbCFinished:cp*.cFinished:2006-11-2022:48:08cut-cnum1-num2filenamenum1num2shellcatexampletest2thisistest1shellcut-c0-6example##print6test2thisi:find:2006-11-2022:48:33:find:expressionfindpathexpression-(),!pathexpressionpathexpression-printexpressionCexpression-mount,-xdev:-aminn:n-anewerfile:file-atimen:n-cminn:n-cnewerfile:file-ctimen:n-empty:-gidnor-groupname:gidngroupname-ipathp,-pathp:pipath-namename,-inamename:nameiname-sizen:nb512ckkilobytesw-typec:cd:c:b:p::l:s:socket-pidn:processidn()exp1-andexp2!expr-notexprexp1-orexp2exp1,exp2:c#find.-name*.c#find.-ftypef20#find.-ctime-20:2006-11-2022:49:01less[Option]filenamelessmorelessless(vi):ln:2006-11-2022:49:25::ln[options]sourcedistoption:[-bdfinsvF][-Sbackup-suffix][-V{numbered,existing,simple}][--help][--version][--]:Linux/Unix(link):(hardlink)(symboliclink)lnsourcedist(dist)source-f:dist-d:-i:dist-n:dist-s:(symboliclink)-v:-b:-SSUFFIX:SUFFIX-VMETHOD:--help:--version::yysymboliclink:zzln-syyzzyyhardlink:zzlnyyxx:2006-11-2022:49:46locate[-q][-d][--database=]locate[-r][--regexp=]locate[-qv][-o][--output=]locate[-e][-f][-l][-c][-U][-u]locate[-Vh][--version][--help]locatedistributioncontab#locateyour_file_name-u-U-u-U-e-l1locate-f:chdrvlocate-n100a.out:a.out100locate-u::ls:2006-11-2022:50:09::ls[-alrtAFR][name...]:)-a(ls.)-l-r()-t-A-a.()..()-F*,/-Rs:ls-ltrs*/bin:ls-lR/bin/,*:ls-AF:2006-11-2022:50:52more[-dlfpcsu][-num][+/pattern][+linenum][fileNames..]catspacebbackvih-num-d[Pressspacetocontinue,qtoquit.][Presshforinstructions.]-l^L-f-p-c-p-s-uTERMterminal+/pattern+numnumfileNamesmore-stestfiletestfilemore+20testfile20testfile:2006-11-2022:51:15mv[options]sourcedestmv[options]source...directory-iaaabbb:mvaaabbbCFinished:mv-i*.c:2006-11-2022:51:35rm[options]name...G-i-f-rC:rm-i*.cFinished:rm-rFinished:2006-11-2022:51:59rmdir[-p]dirName-pAAA:rmdirAAABBBTestTestBBBBBBrmdir-pBBB/Test:2006-11-2022:52:22split[OPTION][INPUT[PREFIX]]INPUTPREFIXaa,PREFIX

1 / 90
下载文档,编辑使用

©2015-2020 m.777doc.com 三七文档.

备案号:鲁ICP备2024069028号-1 客服联系 QQ:2149211541

×
保存成功