Linux common system commands

Source: Internet
Author: User
Tags file copy file handling

Apologies: You see this blog friends because the number of orders a lot of orders are very simple   I summed up the specific commands and what this command is to do, the main use is linked to the http://man.linuxde.net/website, Please forgive me. 1. File and Directory Operations Command 1.1 PWD: Displays the current directory 1.2 CD: Switch directory 1.3 Tree: Displays the contents of the directory in a TreeView 1.4 touch: Create an empty folder or modify a file timestamp property 1.5 mkdir: Creating a directory 1.6 CP: Copy files or directories 1.7 mv: Move or rename files or directories 1.8 RM: Delete files or paths 1.9 ls: Displays the contents and properties of the current directory 1.10 ln: Create a hard link with a soft connection 1.11 rmdir: Delete empty directory 1.12 re Adlink: View Symbolic Link File contents 1.13 Find: Find file under directory 1.14 xargs: Convert standard input to command line parameters 1.15 Rename: Rename file 1.16 basename: Show file name or directory name 1.17 dirname : Displaying file and directory paths 1.18 chattr: Changing the extended properties of a file 1.19 lsattr: Viewing extended properties of files 1.20 file: Shows the type of file 1.21 md5sum: Calculate and verify the MD5 value of a file 1.22 chown: Change the file or directory Users and user groups 1.23 chmod: Change the permissions of a file or directory 1.24 chgrp: Change the file user group 1.25 umask: Show or set the permission Mask 2. File filtering and Content editing processing commands 2.1 Cat: Merge files or view Files 2.2 TAC: Reverse display of file contents 2.3 More: Pagination shows the contents of the file 2.4 Less: Pagination shows the contents of the file 2.5 head: Show file Contents header 2.6 Tail: Display text Piece content End 2.7 Cut: Extracts a paragraph of text from a file and outputs 2.8 split: Split file 2.9 paste: Merging files 2.10 Sort: text sort 2.11 Join: Merging 2.12 Uniq by the same field of two files: removing duplicate rows 2.1 3 WC: Count the number of rows, words, and bytes of a file 2.14 iconv: encoding format for converted files 2.15 Dos2unix: Convert dos format files to UNIX format files 2.16 diff: Compare two different files 2.17 Rev: Reverse output file content 2.18 tr: replace or remove characters 2.19 od: Display files in different 2.20 tee: Multi-directional 2.21 Vi/vim: Plain Text editor 3. File Handling Three Musketeers 3.1 grep: Text Filtering tool 3.2 sed: Character stream editor 3.3 awk: Text Processing Language 4. Linux information display and search File Command 4.1 uname: Display System Information 4.2 hostname: Displays or sets the hostname of the system 4.3 DMESG: Display Startup Exception Diagnostics 4.4 Stat: Display file or file system Status 4.5 du: Statistics on disk space usage Case 4.6 Date: Displays and sets the time of the system 4.7 Echo: Display a line of text 4.8 Watch: Monitor the execution of a command 4.9 whereis: Show command and its associated file full path 4.10 Which: Displays the full path of the command 4.11 Locat E: Quickly locate file path 4.12 updatedb: Update mlocate database 5. File backup and Compression Command 5.1 tar: Package backup 5.2 gzip: Compress or Unzip files 5.3 Zip: Package and Compress Files 5.4 Unzip: Extract Zip Compressed file 5.5 SCP: Remote file copy 5.6 rsync: File Sync Tool 6. Linux User management and User Information Query command 6.1 useradd: Create user 6.2 Usermod: Modify user Information 6.3 Userdel: Delete User 6.4 Groupadd: Create a new user group 6.5 Groupdel: Delete a user group 6.6 passwd: Modify User Password 6.7 chage: Change the validity period of user name Password 6.8 chpasswd: Bulk Update user name password 6.9 su: Switch user 6.10 sudo: Execute command as another user 6.11 ld: Displays information about users and user groups 6. W: Show logged-in user information 6.13 who: Displays information about logged-on users 6.14 users: Display logged-in user 6.15 WhoAmI: Displays the user name currently logged in 6.16 last: Show user login list 6.17 lastb: Show user Login failed Record 6.18 Lastlog: Shows all users who recently logged on to record 7.  Linux disk and File system administration commands 7.1 fdisk: Disk partitioning tool7.2 partprobe: Update the kernel's hard disk partition table information 7.3 parted: Disk partitioning tool 7.4 Mkfs: Creating a Linux File System 7.5 TUNE2FS: Tuning EXT2\EXT3\EXT4 File system Parameters 7.6 dumpe2fs: Exporting ex T2\EXT3\EXT4 File System Parameters 7.7 Resize2fs: Tuning ext2\ext3\ext4 File system parameters 7.8 fsck: Checking and repairing the Linux file System 7.9 DD: Converting or copying Files 7.10 mount: Mount File System 7.1 1 umount: Unmount file system 7.12 DF: report file system disk space usage 7.13 mkswap: Create swap partition 7.14 Swapon: Activate swap partition 7.15 Swapoff: Turn off swap partition 7.16 Sync: Flush File system buffers 8. Linux Process Management Command 8.1 PS: View process 8.2 pstree: Show process Tree 8.3 pgrep: View process for matching criteria 8.4 kill: Terminate process 8.5 killall: Terminate process with process name 8.6 Pkill: End With process name   Stop Process 8.7 Top: Real-time display system process resource consumption 8.8 Nice: Adjust program run priority 8.9 Renice: Adjust running process priority 8.10 nohup: User exits system, process continues to work 8.11 Strace: Trace Process system call 8.12 Ltrace: Trace process Call library function 8.13 runlevel: Output current RunLevel 8.14 init: Initialize Linux process 8.15 Service: Manage system service 9. Linux Network Management Command 9.1 ifconfig: Configure or Display network interface Information 9.2 ifup: Activate network interface 9.3 Ifdown: Disable network interface 9.4 route: Display Management routing Table 9.5 ARP: Manages the ARP cache 9.6 IP for the system: Network Configuration Tool 9.7 netstat: View network status 9.8 SS: View network status 9.9 Ping: Connectivity between test hosts 9.10 traceroute: Tracking data transfer routing status 9.11 arping: sending ARP requests 9.12 Telne T: Telnet host 9.13 NC: Multifunctional networking tool 9.14 SSH: Secure telnet host 9.15 WGet: Command-line download tool 9.16 MAILQ: Show message transfer list 9.17 mail: Send and receive messages 9.18 nslookup: Domain name resolution tool 9.19 Dig: Domain name query tool 9.20 Host: Domain name query tool 9.21 NMAP: Network Probe tool and security/Port scanner 9.22 tcpdump: Monitor network traffic 10. Linux System administration Commands 10.1 lsof: View the files opened by the process 10.2 uptime: Shows the uptime of the system and the responsible information 10.3 free: View system memory Information 10.4 iftop: Dynamic display of traffic information for network interfaces 10.5 vmstat: Virtual Quasi-memory Statistics 10.6 MPSTAT:CPU Information Statistics 10.7 IOSTART:I/O information Statistics 10.8 iotop: Dynamic Display disk I/O information Statistics 10.9 SAR: Collect System Information 10.10 chkconfig: Manage boot start service 10. One NTSYSV: graphical management boot service 10.12 ethtool: Query network card parameters 10.13 Mii-tool: Manage network interface status 10.14 dmidecode: Query system Hardware information 10.15 LSPCI: Show all PCI devices 10.1 6 IPCS: Show the status of interprocess communication facilities 10.17 IPCRM: Clearing IPC related information 10.18 rpm:rpm Package management tool 10.19 Yum: Automated RPM Package management tool

Linux common system commands

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.