4.Linux system commands and uses detailed

Operation and maintenance engineers will be 109 Linux commands
 
File Management
basename: removing the path and file name extension from 
cat: after the series connection passes basic output file (or screen plus> filename File to another)
CD: Change directory
chgrp: change a group relevant to a file or directory
chmod : permission to change the file or directory
chown: change file or directory owner, or their group
comm: Compare two rows have been the order file
cp: copy files or directories
cut: display per line, counting from the beginning of num1 to num2 text
dd: read, and outputs the converted data
diff: diff file
dir: List <file> information (current default directory)
the dos2unix: converting a DOS file format for UNIX file format. The main difference in line breaks
egrep: find within the file specified string
fgrep: Find files that match the criteria string
file: file type identification
find: Find the file or directory
grep: find files that match the criteria string
head: Show Files the first few lines (default 10 lines)
less: less command function is almost more commands, is also used to display the document page by page, except that the less command allows the user to display file can be read forward and backward file
ln: connection file or directory
locate: Find files
ls: list directory contents
mkdir: create the directory
more: similar to the cat, but will display a page-by-page reading user-friendly, while the most basic instruction is to press the space bar (space) started for the next show, press b will go back (back) a show
mv: move or rename the existing file or directory
od: od instruction reads the content of the given file and its contents in octal code word presented
pwd: display the working directory
rename: file batch rename
rm: delete a file or directory
rmdir: delete a directory
sed: can be in accordance with the script commands to process, edit text files
sort: the text contents of the file to be sorted
tail: the N line view files, real-time monitoring function
touch: time to change the file or directory
uniq: delete the text file and check recurring ranks
unix2dos: UNIX file format into DOS format
vdir: list directory contents, -LB function with LS
vi: text editor
wc: count words
 
Disk Management
dd: read, and outputs the converted data
df: displaying information about the disk
du: display the directory or file size
fdisk: partition
format: format the disk. Is not the best use of the format of the disk had
free: Display memory status
mount: mount a file system
umount: unmount the file system
 
Compression Manager
bunzip2: Solutions .bz2 file compression program
bzip2: .bz2 file compression program
cpio: backup files
gunzip: unzip the file
gzip: compressed files
split: Cutting file
tar: backup files
unzip: Unzip the zip file
zgrep: the compressed file find matching regular expression, grep command usage and the same, but the object of the operation is a compressed file
zip: zip file
 
Process management
crontab: Set the timer, allowing users to perform a preset instructions or programs at specific times
kill: delete a running program or work
nohup: do not hang up to run the command
ps: instruction execution status reporting procedures
renice: adjustment priority
top: display, manage execution of the program
who: displays the current logged user information
 
Network management
curl: is under Linux a very powerful http command-line tool, its function is very powerful
finger: find and display user information
ftp: setting file system-related functions
ifconfig: Display or set the network device
ip: a powerful network configuration tool, it can replace some of the traditional network management tools. For example: ifconfig, route etc.
netstat: network status
nslookup: Query the IP address of a machine and its corresponding domain
ping: Detection host
rcp: Copy the distal end of a file or directory
route: Specifies created manually, to modify the routing table, and
tcpdump: after the packet header file lists designated network interface
telnet: open a terminal stage of the job, and log the remote host
traceroute: package display data path between the host
 
System Management
cal: the calendar command, you can display the current month calendar, calendar year, calendar year specified month
cat: after the file reached the basic connection string output
chsh: replace the shell you use to sign system
clear: clear the terminal display, and press Ctrl -L same effect
date: display or set the system time and date
echo: display text
ethtool: used to query and set NIC parameters command
free: display current memory
getconf: system configuration variable values written to standard output
groupadd: Add group
groupdel : delete group
groupmod: change the group ID or name
id: display the user's ID, and belongs to the group ID
init: the so-called init process, which is started by the kernel of a user-level process
ipcs: display information interprocess communication
mesg: set write permissions terminals
passwd: password
rpm: management suite, to make Linux easy to install, upgrade, indirectly, to enhance the applicability of Linux
service: start, stop and restart the service
setup: a setup utility, provides a graphical operation interface
shutdown: it can be used to shut down
su: change user identity
sync: The data in the memory buffer is written to disk
uname: display system information
uptime: linux boot used to query how long, how many online users, system load
useradd: to create a user account
userdel: Delete the user account
usermod: Modify user account
vmstat: virtual memory, processes, CPU activity operating system monitor
wall : transmitting information
write: transmitting information
 
 

 

Guess you like

Origin www.cnblogs.com/allenhu320/p/11281591.html