Python3 Linux相关命令大全

1、文件管理相关

catcat(英文全拼:concatenate)命令用于连接文件并打印到标准输出设备上。https://www.runoob.com/linux/linux-comm-cat.html
chattrLinux chattr命令用于改变文件属性。https://www.runoob.com/linux/linux-comm-chattr.html
chgrpLinux chgrp(英文全拼:change group)命令用于变更文件或目录的所属群组。https://www.runoob.com/linux/linux-comm-chgrp.html
chmodLinux chmod(英文全拼:change mode)命令是控制用户对文件的权限的命令https://www.runoob.com/linux/linux-comm-chmod.html
chownLinux chown(英文全拼:change owner)命令用于设置文件所有者和文件关联组的命令。https://www.runoob.com/linux/linux-comm-chown.html
cksumLinux cksum命令用于检查文件的CRC是否正确。确保文件从一个系统传输到另一个系统的过程中不被损坏。https://www.runoob.com/linux/linux-comm-cksum.html
cmpLinux cmp 命令用于比较两个文件是否有差异。https://www.runoob.com/linux/linux-comm-cmp.html
diffLinux diff 命令用于比较文件的差异。https://www.runoob.com/linux/linux-comm-diff.html
diffstatLinux diffstat命令根据diff的比较结果,显示统计数字。https://www.runoob.com/linux/linux-comm-diffstat.html
fileLinux file命令用于辨识文件类型。https://www.runoob.com/linux/linux-comm-file.html
findLinux find 命令用来在指定目录下查找文件。任何位于参数之前的字符串都将被视为欲查找的目录名。如果使用该命令时,不设置任何参数,则 find 命令将在当前目录下查找子目录与文件。并且将查找到的子目录和文件全部进行显示。https://www.runoob.com/linux/linux-comm-find.html
gitLinux git命令是文字模式下的文件管理员。https://www.runoob.com/linux/linux-comm-git.html
gitviewLinux gitview命令用于观看文件的内容,它会同时显示十六进制和ASCII格式的字码。https://www.runoob.com/linux/linux-comm-gitview.html
indentLinux indent命令用于调整C原始代码文件的格式。https://www.runoob.com/linux/linux-comm-indent.html
cutLinux cut命令用于显示每行从开头算起 num1 到 num2 的文字。https://www.runoob.com/linux/linux-comm-cut.html
lnLinux ln(英文全拼:link files)命令是一个非常重要命令,它的功能是为某一个文件在另外一个位置建立一个同步的链接。https://www.runoob.com/linux/linux-comm-ln.html
lessless 与 more 类似,less 可以随意浏览文件,支持翻页和搜索,支持向上翻页和向下翻页。https://www.runoob.com/linux/linux-comm-less.html
locateLinux locate命令用于查找符合条件的文档,他会去保存文档和目录名称的数据库内,查找合乎范本样式条件的文档或目录。https://www.runoob.com/linux/linux-comm-locate.html
lsattrLinux lsattr命令用于显示文件属性。https://www.runoob.com/linux/linux-comm-lsattr.html
mattribLinux mattrib命令用来变更或显示MS-DOS文件的属性。https://www.runoob.com/linux/linux-comm-mattrib.html
mcLinux mc命令用于提供一个菜单式的文件管理程序。https://www.runoob.com/linux/linux-comm-mc.html
mdelLinux mdel命令用来删除 MSDOS 格式的档案。https://www.runoob.com/linux/linux-comm-mdel.html
mdirLinux mdir命令用于显示MS-DOS目录。https://www.runoob.com/linux/linux-comm-mdir.html
mktempLinux mktemp命令用于建立暂存文件。https://www.runoob.com/linux/linux-comm-mktemp.html
moreLinux more 命令类似 cat ,不过会以一页一页的形式显示,更方便使用者逐页阅读,而最基本的指令就是按空白键(space)就往下一页显示,按 b 键就会往回(back)一页显示,而且还有搜寻字串的功能(与 vi 相似),使用中的说明文件,请按 h 。https://www.runoob.com/linux/linux-comm-more.html
mmoveLinux mmove命令用于在MS-DOS文件系统中,移动文件或目录,或更改名称。https://www.runoob.com/linux/linux-comm-mmove.html
mreadLinux mread命令用于将MS-DOS文件复制到Linux/Unix的目录中。https://www.runoob.com/linux/linux-comm-mread.html
mrenLinux mren命令用于更改MS-DOS文件或目录的名称,或是移动文件或目录。https://www.runoob.com/linux/linux-comm-mren.html
mtoolsLinux mtools命令用于显示mtools支持的指令。https://www.runoob.com/linux/linux-comm-mtools.html
mtoolstestLinux mtoolstest命令用于测试并显示mtools的相关设置。https://www.runoob.com/linux/linux-comm-mtoolstest.html
mvLinux mv(英文全拼:move file)命令用来为文件或目录改名、或将文件或目录移入其它位置。https://www.runoob.com/linux/linux-comm-mv.html
odLinux od命令用于输出文件内容。https://www.runoob.com/linux/linux-comm-od.html
pasteLinux paste 命令用于合并文件的列。https://www.runoob.com/linux/linux-comm-paste.html
patchLinux patch命令用于修补文件。https://www.runoob.com/linux/linux-comm-patch.html
rcpLinux rcp命令用于复制远程文件或目录。https://www.runoob.com/linux/linux-comm-rcp.html
rmLinux rm(英文全拼:remove)命令用于删除一个文件或者目录。https://www.runoob.com/linux/linux-comm-rm.html
slocateLinux slocate命令查找文件或目录。https://www.runoob.com/linux/linux-comm-slocate.html
splitLinux split命令用于将一个文件分割成数个。https://www.runoob.com/linux/linux-comm-split.html
teeLinux tee命令用于读取标准输入的数据,并将其内容输出成文件。https://www.runoob.com/linux/linux-comm-tee.html
tmpwatchLinux tmpwatch命令用于删除暂存文件。https://www.runoob.com/linux/linux-comm-tmpwatch.html
touchLinux touch命令用于修改文件或者目录的时间属性,包括存取时间和更改时间。若文件不存在,系统会建立一个新的文件。https://www.runoob.com/linux/linux-comm-touch.html
umaskLinux umask命令指定在建立文件时预设的权限掩码。https://www.runoob.com/linux/linux-comm-umask.html
whichLinux which命令用于查找文件。https://www.runoob.com/linux/linux-comm-which.html
cpLinux cp(英文全拼:copy file)命令主要用于复制文件或目录。https://www.runoob.com/linux/linux-comm-cp.html
whereisLinux whereis命令用于查找文件。https://www.runoob.com/linux/linux-comm-whereis.html
mcopyLinux mcopy命令用来复制 MSDOS 格式文件到 Linux 中,或是由 Linux 中复制 MSDOS 文件到磁片上。https://www.runoob.com/linux/linux-comm-mcopy.html
mshowfatLinux mshowfat命令用于显示MS-DOS文件在FAT中的记录。https://www.runoob.com/linux/linux-comm-mshowfat.html
rhmaskLinux rhmask命令用于对文件进行加密和解密操作。https://www.runoob.com/linux/linux-comm-rhmask.html
scpLinux scp 命令用于 Linux 之间复制文件和目录。https://www.runoob.com/linux/linux-comm-scp.html
awkAWK 是一种处理文本文件的语言,是一个强大的文本分析工具。https://www.runoob.com/linux/linux-comm-awk.html
readLinux read命令用于从标准输入读取数值。https://www.runoob.com/linux/linux-comm-read.html
updatedbupdatedb 命令用来创建或更新 slocate/locate 命令所必需的数据库文件。https://www.runoob.com/linux/linux-comm-updatedb.html

2、文档管理

colLinux col命令用于过滤控制字符。https://www.runoob.com/linux/linux-comm-col.html
colrmLinux colrm命令用于滤掉指定的行。https://www.runoob.com/linux/linux-comm-colrm.html
commLinux comm 命令用于比较两个已排过序的文件。https://www.runoob.com/linux/linux-comm-comm.html
csplitLinux csplit命令用于分割文件。https://www.runoob.com/linux/linux-comm-csplit.html
edLinux ed命令是文本编辑器,用于文本编辑。https://www.runoob.com/linux/linux-comm-ed.html
egrepLinux egrep命令用于在文件内查找指定的字符串。https://www.runoob.com/linux/linux-comm-egrep.html
exLinux ex命令用于在Ex模式下启动vim文本编辑器。https://www.runoob.com/linux/linux-comm-ex.html
fgrep本指令相当于执行 grep 指令加上参数 -F,详见grep命令说明。https://www.runoob.com/linux/linux-comm-fgrep.html
fmtLinux fmt命令用于编排文本文件。https://www.runoob.com/linux/linux-comm-fmt.html
foldLinux fold命令用于限制文件列宽。https://www.runoob.com/linux/linux-comm-fold.html
grepLinux grep 命令用于查找文件里符合条件的字符串。https://www.runoob.com/linux/linux-comm-grep.html
ispellLinux ispell命令用于拼写检查程序。https://www.runoob.com/linux/linux-comm-ispell.html
jedLinux jed命令用于编辑文本文件。https://www.runoob.com/linux/linux-comm-jed.html
joeLinux joe命令用于编辑文本文件。https://www.runoob.com/linux/linux-comm-joe.html
joinLinux join命令用于将两个文件中,指定栏位内容相同的行连接起来。https://www.runoob.com/linux/linux-comm-join.html
lookLinux look命令用于查询单词。https://www.runoob.com/linux/linux-comm-look.html
mtype"mtype为mtools工具指令,模拟MS-DOS的type指令,可显示MS-DOS文件的内容。
https://www.runoob.com/linux/linux-comm-mtype.html
picoLinux pico命令用于编辑文字文件。https://www.runoob.com/linux/linux-comm-pico.html
rgrepLinux rgrep命令用于递归查找文件里符合条件的字符串。https://www.runoob.com/linux/linux-comm-rgrep.html
sedLinux sed 命令是利用脚本来处理文本文件。https://www.runoob.com/linux/linux-comm-sed.html
sortLinux sort 命令用于将文本文件内容加以排序。https://www.runoob.com/linux/linux-comm-sort.html
spellLinux spell命令可建立拼写检查程序。https://www.runoob.com/linux/linux-comm-spell.html
trLinux tr 命令用于转换或删除文件中的字符。https://www.runoob.com/linux/linux-comm-tr.html
exprexpr命令是一个手工命令行计数器,用于在UNIX/LINUX下求表达式变量的值,一般用于整数值,也可用于字符串。https://www.runoob.com/linux/linux-comm-expr.html
uniqLinux uniq 命令用于检查及删除文本文件中重复出现的行列,一般与 sort 命令结合使用。https://www.runoob.com/linux/linux-comm-uniq.html
wcLinux wc命令用于计算字数。https://www.runoob.com/linux/linux-comm-wc.html
let命令:lethttps://www.runoob.com/linux/linux-comm-let.html

3、文件传输

lprmLinux lprm命令用于将一个工作由打印机贮列中移除https://www.runoob.com/linux/linux-comm-lprm.html
lprlpr(line printer,按行打印)实用程序用来将一个或多个文件放入打印队列等待打印。https://www.runoob.com/linux/linux-comm-lpr.html
lpqLinux lpq命令用于查看一个打印队列的状态,该程序可以查看打印机队列状态及其所包含的打印任务。https://www.runoob.com/linux/linux-comm-lpq.html
lpdLinux lpd命令 是一个常驻的打印机管理程序,它会根据 /etc/printcap 的内容来管理本地或远端的打印机。https://www.runoob.com/linux/linux-comm-lpd.html
byeLinux bye命令用于中断FTP连线并结束程序。https://www.runoob.com/linux/linux-comm-bye.html
ftpLinux ftp命令设置文件系统相关功能。https://www.runoob.com/linux/linux-comm-ftp.html
uutoLinux uuto命令将文件传送到远端的UUCP主机。https://www.runoob.com/linux/linux-comm-uuto.html
uupickLinux uupick命令处理传送进来的文件。https://www.runoob.com/linux/linux-comm-uupick.html
uucpLinux uucp命令用于在Unix系统之间传送文件。https://www.runoob.com/linux/linux-comm-uucp.html
uucicoLinux uucico命令UUCP文件传输服务程序。https://www.runoob.com/linux/linux-comm-uucico.html
tftpLinux tftp命令用于传输文件。https://www.runoob.com/linux/linux-comm-tftp.html
ncftpLinux ncftp命令用于传输文件。https://www.runoob.com/linux/linux-comm-ncftp.html
ftpshutLinux ftpshut命令在指定的时间关闭FTP服务器。https://www.runoob.com/linux/linux-comm-ftpshut.html
ftpwhoLinux ftpwho命令用于显示目前所有以FTP登入的用户信息。https://www.runoob.com/linux/linux-comm-ftpwho.html
ftpcountLinux ftpcount命令用于显示目前以FTP登入的用户人数。https://www.runoob.com/linux/linux-comm-ftpcount.html

4、磁盘管理

cdLinux cd(英文全拼:change directory)命令用于切换当前工作目录。https://www.runoob.com/linux/linux-comm-cd.html
dfLinux df(英文全拼:disk free) 命令用于显示目前在 Linux 系统上的文件系统磁盘使用情况统计。https://www.runoob.com/linux/linux-comm-df.html
dirsLinux dirs命令用于显示目录记录。https://www.runoob.com/linux/linux-comm-dirs.html
duLinux du (英文全拼:disk usage)命令用于显示目录或文件的大小。https://www.runoob.com/linux/linux-comm-du.html
edquotaLinux edquota命令用于编辑用户或群组的磁盘配额。https://www.runoob.com/linux/linux-comm-edquota.html
ejectLinux eject命令用于退出抽取式设备。https://www.runoob.com/linux/linux-comm-eject.html
mcdLinux mcd为mtools工具指令,可在MS-DOS文件系统中切换工作目录。若不加任何参数,则显示目前所在的磁盘与工作目录。https://www.runoob.com/linux/linux-comm-mcd.html
mdeltreeLinux mdeltree命令可用来删除 MSDOS 格式档案及目录。https://www.runoob.com/linux/linux-comm-mdeltree.html
mduLinux mdu命令用于显示MS-DOS目录所占用的磁盘空间。https://www.runoob.com/linux/linux-comm-mdu.html
mkdirLinux mkdir(英文全拼:make directory)命令用于创建目录。https://www.runoob.com/linux/linux-comm-mkdir.html
mlabelLinux mlabel命令用于设定磁盘的标签 (Label)。https://www.runoob.com/linux/linux-comm-mlabel.html
mmdLinux mmd命令用于在MS-DOS文件系统中建立目录。https://www.runoob.com/linux/linux-comm-mmd.html
mrdLinux mrd命令用于删除MS-DOS文件系统中的目录。https://www.runoob.com/linux/linux-comm-mrd.html
mzipLinux mzip命令是Zip/Jaz磁盘驱动器控制指令。https://www.runoob.com/linux/linux-comm-mzip.html
pwdLinux pwd(英文全拼:print work directory) 命令用于显示工作目录。https://www.runoob.com/linux/linux-comm-pwd.html
quotaLinux quota命令用于显示磁盘已使用的空间与限制。https://www.runoob.com/linux/linux-comm-quota.html
mountLinux mount命令是经常会使用到的命令,它用于挂载Linux系统外的文件。https://www.runoob.com/linux/linux-comm-mount.html
mmountLinux mmount命令用于挂入MS-DOS文件系统。https://www.runoob.com/linux/linux-comm-mmount.html
rmdirLinux rmdir(英文全拼:remove directory)命令删除空的目录。https://www.runoob.com/linux/linux-comm-rmdir.html
rmtLinux rmt命令通过进程间通信远程控制磁带机。https://www.runoob.com/linux/linux-comm-rmt.html
statLinux stat 命令用于显示 inode 内容。https://www.runoob.com/linux/linux-comm-stat.html
treeLinux tree命令用于以树状图列出目录的内容。https://www.runoob.com/linux/linux-comm-tree.html
umountLinux umount(英文全拼:unmount)命令用于卸除文件系统。https://www.runoob.com/linux/linux-comm-umount.html
lsLinux ls(英文全拼:list files)命令用于显示指定工作目录下之内容(列出目前工作目录所含之文件及子目录)。https://www.runoob.com/linux/linux-comm-ls.html
quotacheckLinux quotacheck命令用于检查磁盘的使用空间与限制。https://www.runoob.com/linux/linux-comm-quotacheck.html
quotaoffLinux quotaoff 命令关闭磁盘空间限制。https://www.runoob.com/linux/linux-comm-quotaoff.html
lndirLinux lndir命令用于连接目录内容。https://www.runoob.com/linux/linux-comm-lndir.html
repquotaLinux repquota命令用于检查磁盘空间限制的状态。https://www.runoob.com/linux/linux-comm-repquota.html
quotaonLinux quotaon 命令用于开启磁盘空间限制。https://www.runoob.com/linux/linux-comm-quotaon.html

5、磁盘维护

badblocksLinux badblocks命令用于检查磁盘装置中损坏的区块。https://www.runoob.com/linux/linux-comm-badblocks.html
cfdiskLinux cfdisk命令用于磁盘分区。https://www.runoob.com/linux/linux-comm-cfdisk.html
ddLinux dd 命令用于读取、转换并输出数据。https://www.runoob.com/linux/linux-comm-dd.html
e2fsckLinux e2fsck命令用于检查使用 Linux ext2 档案系统的 partition 是否正常工作。https://www.runoob.com/linux/linux-comm-e2fsck.html
ext2edLinux ext2ed命令是ext2文件系统编辑程序。https://www.runoob.com/linux/linux-comm-ext2ed.html
fsckLinux fsck(英文全拼:file system check)命令用于检查与修复 Linux 档案系统,可以同时检查一个或多个 Linux 档案系统。https://www.runoob.com/linux/linux-comm-fsck.html
fsck.minixLinux fsck.minix命令用于检查文件系统并尝试修复错误。https://www.runoob.com/linux/linux-comm-fsck-minix.html
fsconfLinux fsconf命令用于设置文件系统相关功能。https://www.runoob.com/linux/linux-comm-fsconf.html
fdformatLinux fdformat命令用于对指定的软碟机装置进行低阶格式化。https://www.runoob.com/linux/linux-comm-fdformat.html
hdparmLinux hdparm命令用于显示与设定硬盘的参数。https://www.runoob.com/linux/linux-comm-hdparm.html
mformatLinux mformat命令用于对MS-DOS文件系统的磁盘进行格式化。https://www.runoob.com/linux/linux-comm-mformat.html
mkbootdiskLinux mkbootdisk命令用于建立目前系统的启动盘。https://www.runoob.com/linux/linux-comm-mkbootdisk.html
mkdosfsLinux mkdosfs命令用于建立DOS文件系统。https://www.runoob.com/linux/linux-comm-mkdosfs.html
mke2fsLinux mke2fs命令用于建立ext2文件系统。https://www.runoob.com/linux/linux-comm-mke2fs.html
mkfs.ext2功能说明:与 mke2fs命令 相同https://www.runoob.com/linux/linux-comm-mkfs-ext2.html
mkfs.msdos功能说明:与 mkdosfs 命令 相同。https://www.runoob.com/linux/linux-comm-mkfs-msdos.html
mkinitrdLinux mkinitrd命令用于建立要载入ramdisk的映像文件。https://www.runoob.com/linux/linux-comm-mkinitrd.html
mkisofsLinux mkisofs命令用于建立ISO 9660映像文件。https://www.runoob.com/linux/linux-comm-mkisofs.html
mkswapLinux mkswap命令用于设置交换区(swap area)。https://www.runoob.com/linux/linux-comm-mkswap.html
mpartitionLinux mpartition命令用于建立或删除MS-DOS的分区。https://www.runoob.com/linux/linux-comm-mpartition.html
swaponLinux swapon命令用于激活Linux系统中交换空间,Linux系统的内存管理必须使用交换区来建立虚拟内存。https://www.runoob.com/linux/linux-comm-swapon.html
symlinksLinux symlinks命令用于维护符号连接的工具程序。https://www.runoob.com/linux/linux-comm-symlinks.html
syncLinux sync命令用于数据同步,sync命令是在关闭Linux系统时使用的。https://www.runoob.com/linux/linux-comm-sync.html
mbadblocksLinux mbadblocks命令用于检查MS-DOS文件系统的磁盘是否有损坏的磁区。https://www.runoob.com/linux/linux-comm-mbadblocks.html
mkfs.minixLinux mkfs.minix命令用于建立Minix文件系统。https://www.runoob.com/linux/linux-comm-mkfs-minix.html
fsck.ext2Linux fsck.ext2命令用于检查文件系统并尝试修复错误。https://www.runoob.com/linux/linux-comm-fsck-ext2.html
fdiskLinux fdisk 是一个创建和维护分区表的程序,它兼容 DOS 类型的分区表、BSD 或者 SUN 类型的磁盘列表。https://www.runoob.com/linux/linux-comm-fdisk.html
losetupLinux losetup 命令用于设置循环设备。https://www.runoob.com/linux/linux-comm-losetup.html
mkfsLinux mkfs(英文全拼:make file system)命令用于在特定的分区上建立 linux 文件系统。https://www.runoob.com/linux/linux-comm-mkfs.html
sfdiskLinux sfdisk命令是硬盘分区工具程序。https://www.runoob.com/linux/linux-comm-sfdisk.html
swapoffLinux swapoff命令用于关闭系统交换区(swap area)。https://www.runoob.com/linux/linux-comm-swapoff.html

6、网络通讯

apachectlLinux apachectl命令可用来控制Apache HTTP服务器的程序。https://www.runoob.com/linux/linux-comm-apachectl.html
arpwatchLinux arpwatch命令用于监听网络上ARP的记录。https://www.runoob.com/linux/linux-comm-arpwatch.html
dipLinux dip命令用于IP拨号连接。https://www.runoob.com/linux/linux-comm-dip.html
gettyLinux getty命令用于设置终端机模式,连线速率和管制线路。https://www.runoob.com/linux/linux-comm-getty.html
mingettyLinux mingetty命令是精简版的getty。https://www.runoob.com/linux/linux-comm-mingetty.html
uuxLinux uux命令用于在远端的UUCP主机上执行指令。https://www.runoob.com/linux/linux-comm-uux.html
telnetLinux telnet命令用于远端登入。https://www.runoob.com/linux/linux-comm-telnet.html
uulogLinux uulog命令用于显示UUCP记录文件。https://www.runoob.com/linux/linux-comm-uulog.html
uustatLinux uustat命令用于显示UUCP目前的状况。https://www.runoob.com/linux/linux-comm-uustat.html
ppp-offLinux ppp命令用于关闭ppp连线。https://www.runoob.com/linux/linux-comm-ppp-off.html
netconfigLinux netconfig命令用于设置网络环境。https://www.runoob.com/linux/linux-comm-netconfig.html
ncLinux nc命令用于设置路由器。https://www.runoob.com/linux/linux-comm-nc.html
httpdLinux httpd命令是Apache HTTP服务器程序。https://www.runoob.com/linux/linux-comm-httpd.html
ifconfigLinux ifconfig命令用于显示或设置网络设备。https://www.runoob.com/linux/linux-comm-ifconfig.html
minicomLinux minicom命令用于调制解调器通信程序。https://www.runoob.com/linux/linux-comm-minicom.html
mesgLinux mesg命令用于设置终端机的写入权限。https://www.runoob.com/linux/linux-comm-mesg.html
dnsconfLinux dnsconf命令用于设置DNS服务器组态。https://www.runoob.com/linux/linux-comm-dnsconf.html
wallLinux wall命令会将讯息传给每一个 mesg 设定为 yes 的上线使用者。当使用终端机介面做为标准传入时, 讯息结束时需加上 EOF (通常用 Ctrl+D)。https://www.runoob.com/linux/linux-comm-wall.html
netstatLinux netstat 命令用于显示网络状态。https://www.runoob.com/linux/linux-comm-netstat.html
pingLinux ping 命令用于检测主机。https://www.runoob.com/linux/linux-comm-ping.html
pppstatsLinux pppstats命令用于显示PPP连线状态。https://www.runoob.com/linux/linux-comm-pppstats.html
sambaLinux samba命令用于Samba服务器控制。https://www.runoob.com/linux/linux-comm-samba.html
setserialLinux setserial命令用于设置或显示串口的相关信息。https://www.runoob.com/linux/linux-comm-setserial.html
talkLinux talk命令用于与其他使用者对谈。https://www.runoob.com/linux/linux-comm-talk.html
tracerouteLinux traceroute命令用于显示数据包到主机间的路径。https://www.runoob.com/linux/linux-comm-traceroute.html
ttyLinux tty命令用于显示终端机连接标准输入设备的文件名称。https://www.runoob.com/linux/linux-comm-tty.html
newaliasesLinux newaliases命令会使用一个在 /etc/aliases 中的档案做使用者名称转换的动作。当 sendmail 收到一个要送给 xxx 的信时,它会依据 aliases档的内容送给另一个使用者。这个功能可以创造一个只有在信件系统内才有效的使用者。例如 mailing list 就会用到这个功能,在 mailinglist 中,我们可能会创造一个叫 redlinux@link.ece.uci.edu 的 mailinglist,但实际上并没有一个叫 redlinux 的使用者。实际 aliases 档的内容是将送给这个使用者的信都收给 mailing list 处理程序负责分送的工作。https://www.runoob.com/linux/linux-comm-newaliases.html
uunameLinux uuname命令用于显示全部的UUCP远端主机。https://www.runoob.com/linux/linux-comm-uuname.html
netconfLinux netconf命令用于设置各项网络功能。https://www.runoob.com/linux/linux-comm-netconf.html
writeLinux write命令用于传讯息给其他使用者。https://www.runoob.com/linux/linux-comm-write.html
statserialLinux statserial命令用于显示串口状态。https://www.runoob.com/linux/linux-comm-statserial.html
efaxLinux efax命令用于收发传真。https://www.runoob.com/linux/linux-comm-efax.html
pppsetupLinux pppsetup命令用于设置PPP连线。https://www.runoob.com/linux/linux-comm-pppsetup.html
tcpdumpLinux tcpdump命令用于倾倒网络传输数据。https://www.runoob.com/linux/linux-comm-tcpdump.html
ytalkLinux ytalk命令用于与其他用户交谈。https://www.runoob.com/linux/linux-comm-ytalk.html
cuLinux cu命令用于连接另一个系统主机。https://www.runoob.com/linux/linux-comm-cu.html
smbdLinux smbd命令用于Samba服务器程序。https://www.runoob.com/linux/linux-comm-smbd.html
testparmLinux testparm命令用于测试Samba的设置是否正确无误。https://www.runoob.com/linux/linux-comm-testparm.html
smbclientLinux smbclient命令可存取SMB/CIFS服务器的用户端程序。https://www.runoob.com/linux/linux-comm-smbclient.html
shapecfgLinux shapecfg命令用于管制网络设备的流量。https://www.runoob.com/linux/linux-comm-shapecfg.html

7、系统管理

adduserLinux adduser命令用于新增使用者帐号或更新预设的使用者资料。https://www.runoob.com/linux/linux-comm-adduser.html
chfnLinux chfn命令提供使用者更改个人资讯,用于 finger and mail usernamehttps://www.runoob.com/linux/linux-comm-chfn.html
useraddLinux useradd 命令用于建立用户帐号。https://www.runoob.com/linux/linux-comm-useradd.html
dateLinux date 命令可以用来显示或设定系统的日期与时间。https://www.runoob.com/linux/linux-comm-date.html
exitLinux exit命令用于退出目前的shell。https://www.runoob.com/linux/linux-comm-exit.html
fingerLinux finger命令可以让使用者查询一些其他使用者的资料。会列出来的资料有:https://www.runoob.com/linux/linux-comm-finger.html
fwhiosLinux fwhios命令用于查找并显示用户信息。https://www.runoob.com/linux/linux-comm-fwhios.html
sleepLinux sleep命令可以用来将目前动作延迟一段时间。https://www.runoob.com/linux/linux-comm-sleep.html
suspendLinux suspend命令用于暂停执行shell。https://www.runoob.com/linux/linux-comm-suspend.html
groupdelLinux groupdel命令用于删除群组。https://www.runoob.com/linux/linux-comm-groupdel.html
groupmodLinux groupmod命令用于更改群组识别码或名称。https://www.runoob.com/linux/linux-comm-groupmod.html
halt若系统的 runlevel 为 0 或 6 ,则Linux halt命令关闭系统,否则以 shutdown 指令(加上 -h 参数)来取代。https://www.runoob.com/linux/linux-comm-halt.html
killLinux kill 命令用于删除执行中的程序或工作。https://www.runoob.com/linux/linux-comm-kill.html
lastLinux last 命令用于显示用户最近登录信息。https://www.runoob.com/linux/linux-comm-last.html
lastbLinux lastb 命令用于列出登入系统失败的用户相关信息。https://www.runoob.com/linux/linux-comm-lastb.html
loginLinux login命令用于登入系统。https://www.runoob.com/linux/linux-comm-login.html
lognameLinux logname命令用于显示用户名称。https://www.runoob.com/linux/linux-comm-logname.html
logoutLinux logout命令用于退出系统。https://www.runoob.com/linux/linux-comm-logout.html
psLinux ps (英文全拼:process status)命令用于显示当前进程的状态,类似于 windows 的任务管理器。https://www.runoob.com/linux/linux-comm-ps.html
niceLinux nice命令以更改过的优先序来执行程序,如果未指定程序,则会印出目前的排程优先序,内定的 adjustment 为 10,范围为 -20(最高优先序)到 19(最低优先序)。https://www.runoob.com/linux/linux-comm-nice.html
procinfoLinux procinfo命令用于显示系统状态。https://www.runoob.com/linux/linux-comm-procinfo.html
topLinux top命令用于实时显示 process 的动态。https://www.runoob.com/linux/linux-comm-top.html
pstreeLinux pstree(英文全称:display a tree of processes)) 命令将所有进程以树状图显示,树状图将会以 pid (如果有指定) 或是以 init 这个基本进程为根 (root),如果有指定使用者 id,则树状图会只显示该使用者所拥有的进程。https://www.runoob.com/linux/linux-comm-pstree.html
rebootLinux reboot命令用于用来重新启动计算机。https://www.runoob.com/linux/linux-comm-reboot.html
rloginLinux rlogin命令用于远端登入。https://www.runoob.com/linux/linux-comm-rlogin.html
rshLinux rsh命令用于远端登入的Shell。https://www.runoob.com/linux/linux-comm-rsh.html
sliploginLinux sliplogin命令用于将SLIP接口加入标准输入。https://www.runoob.com/linux/linux-comm-sliplogin.html
screenLinux screen命令用于多重视窗管理程序。https://www.runoob.com/linux/linux-comm-screen.html
shutdownLinux shutdown 命令可以用来进行关机程序,并且在关机以前传送讯息给所有使用者正在执行的程序,shutdown 也可以用来重开机。https://www.runoob.com/linux/linux-comm-shutdown.html
rwhoLinux rwho命令用于查看系统用户。https://www.runoob.com/linux/linux-comm-rwho.html
sudoLinux sudo命令以系统管理者的身份执行指令,也就是说,经由 sudo 所执行的指令就好像是 root 亲自执行。https://www.runoob.com/linux/linux-comm-sudo.html
gitpsLinux gitps命令用于报告程序状况。https://www.runoob.com/linux/linux-comm-gitps.html
swatchLinux swatch命令用于系统监控程序。https://www.runoob.com/linux/linux-comm-swatch.html
tloadLinux tload命令用于显示系统负载状况。https://www.runoob.com/linux/linux-comm-tload.html
logrotateLinux logrotate命令用于管理记录文件。https://www.runoob.com/linux/linux-comm-logrotate.html
unameLinux uname(英文全拼:unix name)命令用于显示系统信息。https://www.runoob.com/linux/linux-comm-uname.html
chshLinux chsh命令用于更改使用者 shell 设定。https://www.runoob.com/linux/linux-comm-chsh.html
userconfLinux userconf命令用于用户帐号设置程序。https://www.runoob.com/linux/linux-comm-userconf.html
userdelLinux userdel命令用于删除用户帐号。https://www.runoob.com/linux/linux-comm-userdel.html
usermodLinux usermod命令用于修改用户帐号。https://www.runoob.com/linux/linux-comm-usermod.html
vlockLinux vlock命令用于锁住虚拟终端。https://www.runoob.com/linux/linux-comm-vlock.html
whoLinux who命令用于显示系统中有哪些使用者正在上面,显示的资料包含了使用者 ID、使用的终端机、从哪边连上来的、上线时间、呆滞时间、CPU 使用量、动作等等。https://www.runoob.com/linux/linux-comm-who.html
whoamiLinux whoami命令用于显示自身用户名称。https://www.runoob.com/linux/linux-comm-whoami.html
whoisLinux whois命令用于查找并显示用户信息。https://www.runoob.com/linux/linux-comm-whois.html
newgrpLinux newgrp 命令用于登入另一个群组。https://www.runoob.com/linux/linux-comm-newgrp.html
reniceLinux renice命令用于重新指定一个或多个行程(Process)的优先序(一个或多个将根据参数而定)。https://www.runoob.com/linux/linux-comm-renice.html
suLinux su(英文全拼:switch user)命令用于变更为其他使用者的身份,除 root 外,需要键入该使用者的密码。https://www.runoob.com/linux/linux-comm-su.html
skillLinux skill命令送个讯号给正在执行的程序,预设的讯息为 TERM (中断),较常使用的讯息为 HUP、INT、KILL、STOP、CONT 和 0。https://www.runoob.com/linux/linux-comm-skill.html
wLinux w命令用于显示目前登入系统的用户信息。https://www.runoob.com/linux/linux-comm-w.html
idLinux id命令用于显示用户的ID,以及所属群组的ID。https://www.runoob.com/linux/linux-comm-id.html
groupaddgroupadd 命令用于创建一个新的工作组,新工作组的信息将被添加到系统文件中。https://www.runoob.com/linux/linux-comm-groupadd.html
freeLinux free命令用于显示内存状态。https://www.runoob.com/linux/linux-comm-free.html

8、系统设置

resetLinux reset命令其实和 tset 是一同个命令,它的用途是设定终端机的状态。一般而言,这个命令会自动的从环境变数、命令列或是其它的组态档决定目前终端机的型态。如果指定型态是 ‘?’ 的话,这个程序会要求使用者输入终端机的型别。https://www.runoob.com/linux/linux-comm-reset.html
clearLinux clear命令用于清除屏幕。https://www.runoob.com/linux/linux-comm-clear.html
aliasLinux alias命令用于设置指令的别名。https://www.runoob.com/linux/linux-comm-alias.html
dircolorsLinux dircolors命令用于设置 ls 指令在显示目录或文件时所用的色彩。https://www.runoob.com/linux/linux-comm-dircolors.html
aumixLinux aumix命令用于设置音效装置。https://www.runoob.com/linux/linux-comm-aumix.html
bindLinux bind命令用于显示或设置键盘按键与其相关的功能。https://www.runoob.com/linux/linux-comm-bind.html
chrootLinux chroot (英文全称:change root) 命令用于改变根目录。https://www.runoob.com/linux/linux-comm-chroot.html
clockLinux clock命令用于调整 RTC 时间。https://www.runoob.com/linux/linux-comm-clock.html
crontabLinux crontab 是用来定期执行程序的命令。https://www.runoob.com/linux/linux-comm-crontab.html
declareLinux declare命令用于声明 shell 变量。https://www.runoob.com/linux/linux-comm-declare.html
depmodLinux depmod命令用于分析可载入模块的相依性。https://www.runoob.com/linux/linux-comm-depmod.html
dmesgLinux dmesg(英文全称:display message)命令用于显示开机信息。https://www.runoob.com/linux/linux-comm-dmesg.html
enableLinux enable命令用于启动或关闭 shell 内建指令。https://www.runoob.com/linux/linux-comm-enable.html
evalLinux eval命令用于重新运算求出参数的内容。https://www.runoob.com/linux/linux-comm-eval.html
exportLinux export 命令用于设置或显示环境变量。https://www.runoob.com/linux/linux-comm-export.html
pwunconvLinux pwunconv命令用于关闭用户的投影密码。https://www.runoob.com/linux/linux-comm-pwunconv.html
grpconvLinux grpconv(group convert to shadow password)命令用于开启群组的投影密码。https://www.runoob.com/linux/linux-comm-grpconv.html
rpmLinux rpm 命令用于管理套件。https://www.runoob.com/linux/linux-comm-rpm.html
insmodLinux insmod(英文全拼:install module)命令用于载入模块。https://www.runoob.com/linux/linux-comm-insmod.html
kbdconfigLinux kbdconfig命令用于设置键盘类型。https://www.runoob.com/linux/linux-comm-kbdconfig.html
liloLinux lilo命令用于安装核心载入,开机管理程序。https://www.runoob.com/linux/linux-comm-lilo.html
liloconfigLinux liloconfig命令用于设置核心载入,开机管理程序。https://www.runoob.com/linux/linux-comm-liloconfig.html
lsmodLinux lsmod(英文全拼:list modules)命令用于显示已载入系统的模块。https://www.runoob.com/linux/linux-comm-lsmod.html
minfoLinux minfo命令用于显示MS-DOS文件系统的各项参数。https://www.runoob.com/linux/linux-comm-minfo.html
setLinux set命令用于设置shell。https://www.runoob.com/linux/linux-comm-set.html
modprobeLinux modprobe命令用于自动处理可载入模块。https://www.runoob.com/linux/linux-comm-modprobe.html
ntsysvLinux ntsysv命令用于设置系统的各种服务。https://www.runoob.com/linux/linux-comm-ntsysv.html
mouseconfigLinux mouseconfig命令用于设置鼠标相关参数。https://www.runoob.com/linux/linux-comm-mouseconfig.html
passwdLinux passwd命令用来更改使用者的密码https://www.runoob.com/linux/linux-comm-passwd.html
pwconvLinux pwconv命令用于开启用户的投影密码。https://www.runoob.com/linux/linux-comm-pwconv.html
rdateLinux rdate命令用于显示其他主机的日期与时间。https://www.runoob.com/linux/linux-comm-rdate.html
resizeLinux resize命令设置终端机视窗的大小。https://www.runoob.com/linux/linux-comm-resize.html
rmmodLinux rmmod(英文全拼:remove module)命令用于删除模块。https://www.runoob.com/linux/linux-comm-rmmod.html
grpunconvLinux grpunconv命令用于关闭群组的投影密码。https://www.runoob.com/linux/linux-comm-grpunconv.html
modinfoLinux modinfo命令用于显示kernel模块的信息。https://www.runoob.com/linux/linux-comm-modinfo.html
timeLinux time命令的用途,在于量测特定指令执行时所需消耗的时间及系统资源等资讯。https://www.runoob.com/linux/linux-comm-time.html
setupLinux setup命令设置公用程序,是一个启动图形设置系统的命令。https://www.runoob.com/linux/linux-comm-setup.html
sndconfigLinux sndconfig命令用于设置声卡。https://www.runoob.com/linux/linux-comm-sndconfig.html
setenvLinux setenv 命令用于查询或显示环境变量。https://www.runoob.com/linux/linux-comm-setenv.html
setconsoleLinux setconsole命令用于设置系统终端。https://www.runoob.com/linux/linux-comm-setconsole.html
timeconfigLinux timeconfig命令用于设置时区。https://www.runoob.com/linux/linux-comm-timeconfig.html
ulimitLinux ulimit命令用于控制shell程序的资源。https://www.runoob.com/linux/linux-comm-ulimit.html
unsetLinux unset命令用于删除变量或函数。https://www.runoob.com/linux/linux-comm-unset.html
chkconfigLinux chkconfig 命令用于检查,设置系统的各种服务。https://www.runoob.com/linux/linux-comm-chkconfig.html
apmdLinux apmd命令用于进阶电源管理服务程序。https://www.runoob.com/linux/linux-comm-apmd.html
hwclockLinux hwclock命令用于显示与设定硬件时钟。https://www.runoob.com/linux/linux-comm-hwclock.html
mkkickstartLinux mkkickstart命令用于建立安装的组态文件。https://www.runoob.com/linux/linux-comm-mkkickstart.html
fbsetLinux fbset命令用于设置景框缓冲区。https://www.runoob.com/linux/linux-comm-fbset.html
unaliasLinux unalias命令用于删除别名。https://www.runoob.com/linux/linux-comm-unalias.html
SVGATextModeLinux SVGATextMode命令用于加强文字模式的显示画面。https://www.runoob.com/linux/linux-comm-svgatextmode.html
gpasswdLinux gpasswd 是 Linux 下工作组文件 /etc/group 和 /etc/gshadow 管理工具,用于将一个用户添加到组或者从组中删除。https://www.runoob.com/linux/linux-comm-gpasswd.html

9、备份压缩

arLinux ar命令用于建立或修改备存文件,或是从备存文件中抽取文件。https://www.runoob.com/linux/linux-comm-ar.html
bunzip2Linux bunzip2命令是.bz2文件的解压缩程序。https://www.runoob.com/linux/linux-comm-bunzip2.html
bzip2Linux bzip2命令是.bz2文件的压缩程序。https://www.runoob.com/linux/linux-comm-bzip2.html
bzip2recoverLinux bzip2recover命令用来修复损坏的.bz2文件。https://www.runoob.com/linux/linux-comm-bzip2recover.html
gunzipLinux gunzip 命令用于解压文件。https://www.runoob.com/linux/linux-comm-gunzip.html
unarjLinux unarj命令用于解压缩.arj文件。https://www.runoob.com/linux/linux-comm-unarj.html
compressLinux compress命令是一个相当古老的 unix 档案压缩指令,压缩后的档案会加上一个 .Z 延伸档名以区别未压缩的档案,压缩后的档案可以以 uncompress 解压。若要将数个档案压成一个压缩档,必须先将档案 tar 起来再压缩。由于 gzip 可以产生更理想的压缩比例,一般人多已改用 gzip 为档案压缩工具。https://www.runoob.com/linux/linux-comm-compress.html
cpioLinux cpio命令用于备份文件。https://www.runoob.com/linux/linux-comm-cpio.html
dumpLinux dump命令用于备份文件系统。https://www.runoob.com/linux/linux-comm-dump.html
uuencodeLinux uuencode命令用于将uuencode编码后的档案还原。https://www.runoob.com/linux/linux-comm-uuencode.html
gzexeLinux gzexe命令用于压缩执行文件。https://www.runoob.com/linux/linux-comm-gzexe.html
gzipLinux gzip命令用于压缩文件。https://www.runoob.com/linux/linux-comm-gzip.html
lhaLinux lha命令用于压缩或解压缩文件。https://www.runoob.com/linux/linux-comm-lha.html
restoreLinux restore命令用来还原由dump操作所备份下来的文件或整个文件系统(一个分区)。https://www.runoob.com/linux/linux-comm-restore.html
tarLinux tar(英文全拼:tape archive )命令用于备份文件。https://www.runoob.com/linux/linux-comm-tar.html
uudecodeLinuxuudecode 将 uuencode 编码后的档案还原, uudecode 只会将 begin 与 end 标记之间的编码资料还原,程序会跳过标记以外的资料。https://www.runoob.com/linux/linux-comm-uudecode.html
unzipLinux unzip命令用于解压缩zip文件https://www.runoob.com/linux/linux-comm-unzip.html
zipLinux zip 命令用于压缩文件。https://www.runoob.com/linux/linux-comm-zip.html
zipinfoLinux zipinfo命令用于列出压缩文件信息。https://www.runoob.com/linux/linux-comm-zipinfo.html
  • 0
    点赞
  • 5
    收藏
    觉得还不错? 一键收藏
  • 打赏
    打赏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

学习者-小刈

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值