, Q Exit,! Force Save2) Shortcut keysA. Last-line mode: Set NU Displays line number: N Jumps to nth row: 1, $s/nologin/888/g 888 replace nologin,$ for last line, G for full line substitutionB. Command-line modeNDD Cut (delete) The row after the cursor nP PasteNyy copy cursor row after n rowsG cursor quickly navigates to the last lineGG Positioning the first lineU Undo Previous Action/nfs Find NFS, Letter N Next, n up one3. Piping and appending1) Pipe
In Linux, the top command is used to display the real-time status of processes running in the system. It displays some useful information, such as CPU utilization and memory consumption, and the status of each process. But, do you know? There is another command line tool 'htop', which is similar to the traditional top command
GuideThere are two types of Linux links, one called hard links, and the other called Symbolic links (symbolic link). By default, the LN command produces a hard link. The difference between the hard link and the soft link fundamentally starts with the Inode node, and the following example explains the creation of hard links and soft links in Linux systems, to actu
"Fee star Copyright q:9715234"Axel is the next good http/ftp high-speed download tool for Linux. Support multi-threaded download, breakpoint continued "fee meta-star copyright q:9715234", and can be from multiple addresses or multiple connections from one address to download the same file. Suitable for speed without force when multi-threaded download to improve download speed. On the Baidu server with 20 threads running, speed is,, has reached the bro
Linux pipeline command note, linux pipeline command note
Pipeline command (pipe)
Use "|" to define the symbol
Pipeline commands must be able to receive data from the previous command into standard input to continue processing
1. S
Linux Command Learning (3): ls command, linuxls
The ls command is the most commonly used command in linux. The ls command is short for list. By default, ls is used to print the list of
One Linux Command every day 8, Linux Command
Yum optical disc yum source constructionBenefits: No need to access the Internet, saving the time required for downloading many network yum sources, and saving the installation speed.Will be greatly increased.Disadvantage: The yum source is not necessarily the latest
1. Op
Cron is a Linux scheduled execution tool that can run jobs without human intervention. Since cron is a built-in service in Linux, but it does not automatically get up, you can use the following methods to start and close this service:
/Sbin/service crond start // start the service/Sbin/service crond stop // close the service/Sbin/service crond restart // restart the service/Sbin/service crond reload // relo
The patch command allows you to modify and update the original file by setting the patch file. If only one file is modified at a time, you can issue commands in the command column for sequential execution. If files are patched together, a large number of files can be repaired at a time, which is also one of the core upgrade methods for Linux systems.SyntaxPatch [
One linux Command every day-halt and linux Command halt
The halt command is used to shut down the running Linux operating system. The halt command first checks the system's runlevel. I
Linux Command uptime, linux Command uptimeThe uptime command is used to query linux system loads.Command FormatUptime [OPTION]-V display versionThe system load is directly output by uptime without parameters.What is system load?Th
Mouseconfig for the mouse Setup program, you can automatically set the relevant parameters, or users can also use the interactive mode provided by themselves set the mouse. Mouseconfig is a command of Red Hat Linux.
Grammar
Mouseconfig [--back][--emulthree][--help][--expert][--kickstart][--noprobe]
[--test] [--device
Parameters:
--back Displays the Back button on the settings screen instead of the
The Linux passwd command is used to change the user's password.SyntaxPasswd [-k] [-l] [-u [-f] [-d] [-S] [username]Required parameters: -D. Delete the password. -F force execution -K updates can only be sent after expiration -L stop account use -S: Display password information -U: enable an account that has been stopped -X: Set the password validity period. -G: change the group p
The resize command allows you to set the window size of the virtual terminal.
Grammar
Resize [-cu][-s
Parameters:
-C Even if the user environment is not C shell, also use C shell instructions to change the size of the window.
-S
-U even if the user environment is not Bourne shell, also use Bourne shell instructions to change the window size.
Instance
Use C shell
[Root@linux w3cschool.cc]#
The Linux renice command is used to reassign one or more stroke (Process) precedence (one or more will be based on parameters).
Note: Each stroke (Process) has a unique (unique) ID.
Use Rights: All users.
Grammar
Renice priority [[P] pid ...] [[G] pgrp ...] [[-u] user ...]
Parameter description:
-P PID assigns a stroke's ID to the precedence sequence of the PID
-G PGRP Specifies the precedence of
You can use the groupmod command to change the group identifier or name.SyntaxGroupmod [-g Parameters: -G -O reuse the group ID. -N InstanceModify group nameRoot@w3cschool.cc ~ # Groupadd linuxsoRoot@w3cschool.cc ~ # Tail-1/etc/groupLinuxso: x: 500:Root@w3cschool.cc ~ # Tail-1/etc/groupLinuxso: x: 500:Root@w3cschool.cc ~ # Groupmod-n linux linuxsoRoot@w3cschool.cc ~ # Tail-1/etc/groupLinux: x: 500
The Linux ls command is used to display the content in the specified working directory (list the files and subdirectories contained in the current working directory ).SyntaxLs [-alrtAFR] [name...]Parameters: -A: displays all files and directories. (if the file name or directory name starts with "." is specified in ls, it is regarded as a hidden file and will not be listed) -L in addition to
The do command in Linux and the do command in Linux
A new account named test is created. After su is created, the mongodo command is used to log on to the system using the root account. if it finds that the account is unavailable, the putty account is exited and the root acc
Linux under the PS command detailed1. Running (running or waiting in the running queue)2. Interrupt (dormant, blocked, waiting for a condition to form or receive a signal)3. Non-interruptible (receive signal does not wake up and not run, process must wait until interrupt occurs)4. Zombie (The process has been terminated, but the process descriptor exists until the parent process calls WAIT4 () after the sys
Screen is a multiple Windows management program. The so-called window here refers to a Full-screen text-mode screen. The screen program is typically used only if you are using Telnet to log in to a host or use an old-fashioned terminal.
Grammar
screen [-amrvx-ls-wipe][-d
[-S
Parameter description:
-A adjusts all windows to the size of the current terminal.
-d
-h
-M forces a new screen job to be created even if the screen job is currently in the job.
-r
-R attempts to
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.