小抄
- sort
sort lines of text files
- tee
read from standard input and write to standard output and files
- systemctl
Control the systemd system and service manager
- yum
Yellowdog Updater Modified
- rm
remove files or directories
- rpm
- rpm -qa|grep httpd
- rpm -ql httpd-2.4.6-90.el7.centos.x86_64
RPM Package Manager
- grep
print lines matching a pattern
- info
read Info documents
- man
an interface to the on-line reference manuals
- tar
归档数据
- mkdir
make directories
- ls
list directory contents
- tree
list contents of directories in a tree-like format
- cat
concatenate files and print on the standard output
- cp
copy files and directories
- echo
display a line of text
- chmod
change file mode bits
- touch
change file timestamps
- mknod
make block or character special files
- uname
print system information
- hostnamectl
Control the system hostname
- free
Display amount of free and used memory in the system
- telnet
- user interface to the TELNET protocol
- communicate with another host using the TELNET protocol
- sleep
delay for a specified amount of time
- locale
get locale-specific information
- tput
initialize a terminal or query terminfo database
- stty
change and print terminal line settings
- date
print or set the system date and time
- ps
report a snapshot of the current processes.
- netstat
- netstat -anptu
Print network connections, routing tables, interface statistics, masquerade connections, and multicast memberships
masquerade: 伪装 multicast: 多播
- chkconfig
updates and queries runlevel information for system services
- find
search for files in a directory hierarchy
- xargs
build and execute command lines from standard input
- kill
terminate a process
- nohup
run a command immune to hangups, with output to a non-tty
- groupadd
create a new group
- usermod
modify a user account
- newgrp
log in to a new group
- gpasswd
administer /etc/group and /etc/gshadow
- groups
print the groups a user is in
- id
print real and effective user and group IDs
- sendfile
transfer data between file descriptors
- rename
rename files
- ln
make link between files
- top
display Linux processes
- readlink
print resolved symbolic links or canonical file names
- df
report file system disk space usage
- du
estimate file space usage
- dd
convert and copy a file
- debugfs
ext2/ext3/ext4 file system debugger
- more
file perusal filter for crt viewing
- less
opposite of more
- file
determine file type
- test
check file types and compare values