这是本节的多页打印视图。 点击此处打印.

返回本页常规视图.

命令

1 - colon

NAME
  • Null command.

SYNOPSIS :

DESCRIPTION Null command.

No effect; the command does nothing.

Exit Status:
Always succeeds.

SEE ALSO bash(1)

IMPLEMENTATION GNU bash, version 5.0.17(1)-release (x86_64-redhat-linux-gnu) Copyright (C) 2019 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later http://gnu.org/licenses/gpl.html

2 - 1dot

https://linuxcommand.org/lc3_man_pages/doth.html

NAME . - Execute commands from a file in the current shell.

SYNOPSIS . filename [arguments]

DESCRIPTION Execute commands from a file in the current shell.

Read and execute commands from FILENAME in the current shell.  The
entries in $PATH are used to find the directory containing FILENAME.
If any ARGUMENTS are supplied, they become the positional parameters
when FILENAME is executed.

Exit Status:
Returns the status of the last command executed in FILENAME; fails if
FILENAME cannot be read.

SEE ALSO bash(1)

IMPLEMENTATION GNU bash, version 5.0.17(1)-release (x86_64-redhat-linux-gnu) Copyright (C) 2019 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later http://gnu.org/licenses/gpl.html

3 - 3dot

https://linuxcommand.org/lc3_man_pages/dbl_parensh.html

NAME (( … )) - Evaluate arithmetic expression.

SYNOPSIS (( expression ))

DESCRIPTION Evaluate arithmetic expression.

The EXPRESSION is evaluated according to the rules for arithmetic
evaluation.  Equivalent to "let EXPRESSION".

Exit Status:
Returns 1 if EXPRESSION evaluates to 0; returns 0 otherwise.

SEE ALSO bash(1)

IMPLEMENTATION GNU bash, version 5.0.17(1)-release (x86_64-redhat-linux-gnu) Copyright (C) 2019 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later http://gnu.org/licenses/gpl.html

4 - trap

5 - cancel

删除打印任务

6 - lprm

删除打印任务

7 - lpq

8 - lpstat

9 - lp

打印文件(System V类型)

10 - lpr

打印文件(Berkeley 类型)

11 - groff

12 - roff

13 - printf

格式化并打印数据

14 - pr

将文本文件转换为打印文件

15 - fmt

简单的文本格式化工具

16 - fold

将文本中的行长度设定为指定长度

17 - nl

对行进行标号

18 - aspell

交互式拼写检查工具

19 - sed

用于文件过滤和转换的流编辑器

20 - tr

替换或删除字符

21 - patch

对原文件进行diff操作

22 - diff

逐行比较文件

23 - comm

逐行比较两个已排序文件

24 - join

链接两文件中具有相同字段的行

25 - paste

合并文件行

26 - cut

删除文件行中的部分内容

27 - sort

对文件进行排序

28 - cat

进行文件之间的拼接并且输出到标准输出

29 - rsync

远程文件、目录的同步

30 - zip

打包压缩文件

31 - tar

磁带归档工具

32 - bzip2

牺牲速度以换取高质量的数据压缩

33 - gzip

文件压缩与解压缩

34 - find

较复杂的方式查找文件

35 - locate

较简单的方式查找文件

36 - sftp

安全传输文件

37 - scp

安全传输文件

38 - ssh

安全登录远程计算机

39 - wget

非交互式网络下载工具

40 - lftp

更好的ftp(文件传输协议)

41 - ftp

采用FTP(文件传输协议)传输文件

42 - netstat

检查网络设置及相关统计数据

43 - traceroute

跟踪网络数据包的传输路径

44 - ping

向网络主机发送特殊数据包

45 - killall

发送信号给多个进程

46 - kill

发送信号到进程

47 - top

动态查看进程信息

48 - ps

查看进程信息

49 - chgrp

更改文件所属群组

50 - chown

更改文件所有者和所属群组

51 - sudo

以另一个用户的身份执行命令

52 - su

以其他用户和组ID的身份来运行shell

53 - umask

设置默认权限

54 - chmod

更改文件模式

55 - tee

从stdin读取数据,并同时输出到stdout和文件

56 - tail

输出文件的结尾部分

57 - head

输出文件的开头部分

58 - grep

文件搜索、打印匹配行

59 - wc

打印行数、字数和字节数

60 - uniq

报告或忽略文件中重复的行

61 - info

显示程序的info条目

62 - whatis

显示命令的简要描述

63 - apropos

显示合适的命令

64 - man

显示程序的手册页

65 - help

显示命令的使用信息

66 - which

显示可执行程序的位置

67 - type

显示命令的类型

68 - ln

创建链接

69 - rm

删除文件和目录

70 - mv

71 - cp

复制文件和目录

72 - mkdir

创建目录

73 - less

74 - file

75 - ls