Linux基本命令
Linux 常用命令
- man: an interface to the on-line reference manuals
- su [options] [username]: change user ID or become superuser
- useradd [options] LOGIN: create a new user or update default new user information
- userdel [options] LOGIN: delete a user account and related files
- passwd [options] [LOGIN]: change user password
- ps [options]: report a snapshot of the current process.
- kill [options]
[…]: send a signal to a process - fdisk [options] device: manipulate disk partition table
- mount: mount a filesystem
- chown [OPTION] … [OWNER]:[GROUP]] FILE …: change file owner and group
- chgrp [OPTION] … GROUP FILE …: change group ownership
- chmod [OPTION] … MODE[,MODE] … FILE …: change file mode bits
- grep [OPTION] PATTERN [FILE…]: print lines matching a pattern
- find [-H] [-L] [-P] [-D debugopts] [-Olevel] [starting-point…] [expression]: search for files in a directory hierarchy
- ln: make links between files
- gzip, gunzip, zcat: compress or expand files
- tar: an archiving utility
- diff [OPTION] … FILES: compare files line by line
- patch -pnum < patchfile: apply a diff file to an original
- ifconfig: configure a network interface