Read about linux administration commands pdf, The latest news, videos, and discussion topics about linux administration commands pdf from alibabacloud.com
Tags: view int advanced Common STR config mpstat tor PCRView hardware information related commands (8)IfconfigFreeFdiskEthtoolMii-toolDmidecodeDmesg LspciOther (19)EchoPrintfRpmYumWatchAliasUnaliasDateClearHistoryEjectTimeNohupnc XargsExecExportunsetTypeSystem performance Monitoring advanced commands (12)Memory, CPU:TopFreeVmstatMpstatIostatSarProcess:IPCsIpcrmLsofStraceLstraceLoad:UptimeMountUmountDf
website download a website for all the PDF files Instance 15: Use Wget FTP download command: wget ftp-urlwget--ftp-user=username--ftp-password=password URL Description: You can use wget to complete the download of the FTP link. Use wget anonymous FTP Download: wget ftp-url ftp download using wget username and password authentication wget--ftp-user=username--ftp-password=password URL Note: Compile the installation using the following command to compil
almost all of the operations under Linux can be implemented by the command line, familiar with the command line operation can not only bring convenience to our work, but also have a significant effect on the improvement of our working efficiency. To summarize, a few common commands and how to use Linux. User Management New user Add useradd UserName After crea
Tags: win need stat inux telnet algorithm listen upload off
Ifconfig command
View and configure network status commands
Turn off and start the NIC
Ifdown NIC Device Name
Disable the NIC device
Ifup NIC Device Name
Enable the NIC device
Querying network status
Netstat options
-t lists TCP protocol ports
-U lists UDP p
Tags: Linux basic commandsCommon directivesls???? show files or directories???-l????? List file details L (list)???? to list all files and directories under the current directory, including Hidden A (all)Mkdir???? Create a Directory???-P????? Create directory, if no parent directory, create p (parent)Cd??????? Switch directoriesCreate an empty file with touch????echo?????? Create a file with content.Cat??????? View File Contentscp????????Mv??????? Mov
a system Architecture of LinuxEverything in Linux is a file .These files are at the top of the system directory "/" / is the root directory/ directory Below is a level two directory these directories are automatically created when the system is installedThe role of the secondary directory/bin # # binary executable file is a system command/sbin # # System Management Command storage location/Boot # # boot partition, responsible for system startup/dev #
before theCtrl+u: Delete text entered under input modeF. Search and Replace commands/pattern: Searches for pattern at the end of the file from the beginning of the cursor? pattern: Searches for pattern from the beginning of the cursor to the top of the fileN: Repeat the last search command in the same directionN: Repeats the last search command in the opposite direction: s/p1/p2/g: Replaces all P1 in the current row with P2: n1,n2s/p1/p2/g: All P1 in
halt**** restart rebootConfigure a password-free SSH login between hosts if A is to log on B to operate on a: percent of the first generation of the key pair Ssh-keygen (prompt, the direct carriage return) percent and then copy and append A own public key to the authorization list file of B authorized_ Keys in Ssh-copy-id BBackground Services Management Service network Status View the state of the specified services service network stop stops specifying service services network start starts the
user, then the system automatically creates a group name that is the same as the user name.
(5) Userdel: Delete User(6) passwd: Set User passwordpasswd User Name(7) SU: Switch user nameThe user name that SU needs to switchSu-the user name that needs to be toggled, after switching the user, will also actively jump to the user's home directoryNote: If you have an Ubuntu platform, you need to add "sudo" before the command, and if you need an administrator to operate on some operations, Ubuntu
; Filelist.txtUrl1Url2Url3Url4Then use this file and parameters-I downloadWget-i filelist.txt10. Using Wget–mirror Mirror websiteThe following example is to download the entire website to local.Wget–mirror-p–convert-links-p./local URL–miror: Account opening image download-P: Download all files for HTML page to display normal–convert-links: After download, convert cost to link-P./local: Save all files and directories to a locally specified directory11, use wget–reject filter specified format down
. Search and Replace commands/pattern: Searches for pattern at the end of the file from the beginning of the cursor? pattern: Searches for pattern from the beginning of the cursor to the top of the fileN: Repeat the last search command in the same directionN: Repeats the last search command in the opposite direction: s/p1/p2/g: Replaces all P1 in the current row with P2: n1,n2s/p1/p2/g: All P1 in line N1 to N2 are replaced with P2: g/p1/s//p2/g: Repla
. Search and Replace commands/pattern: Searches for pattern at the end of the file from the beginning of the cursor? pattern: Searches for pattern from the beginning of the cursor to the top of the fileN: Repeat the last search command in the same directionN: Repeats the last search command in the opposite direction: s/p1/p2/g: Replaces all P1 in the current row with P2: n1,n2s/p1/p2/g: All P1 in line N1 to N2 are replaced with P2: g/p1/s//p2/g: Repla
owned user right
The 第5-7 character rw-represents the currently owned group permission
第8-10 character r--represents other user rights
Then the permission for the file is 664chmod permissions to modify a file or directory. Format: chmod [parameter] permission file or directory nameThe Chown command is used to modify a file or directory to belong to the main and owning group. Format: chown [parameter] owner: owning group file or directory name
The command parameters of chmo
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.