Wandering on the Cu, you can see a person's personal signature
:() {:|:Echo 'ten people | day 1 | ten dozen o' | SED's/.../& \ n/G' #
Haha, I tried it on my own machine. See all the posts I 've mentioned.CrashNow (Linux is probably used), there
Function Description: search for and display user information.
Syntax: finger [-lmsp] [account name...]
In Linux, the finger command is used to query the login account information on a host. The user name, main directory, stagnation time, Logon
1. Description
Cut [Option] files
Cut-D 'separator '-F Fields
Retrieve some specific fields of the file with different fields
2. Options
-D: used to define the delimiter. The default Delimiter is the tab key, which is used with-f.
-F: The
Shell kill and killall
kill-sends a signal to the process (which is used to terminate the process by default). You can only use a PID to specify the Process
killall-same as kill, however, you can use the process name to specify the
1. ChildProgramOnly the environment variables of the parent program will be inherited, And the subroutine will not inheritDefinitionVariable.
Custom variables: declare them as environment variables through export
Convert environment variables to
1. Description
Tr-translate or delete characters
Tr [Option]... set1 [set2]
Translate, squeeze, and/or delete characters from standard input, writing to standard output. Sets are specified as strings of characters.
TR is used to convert
1. When the crontab command is executedProgramIt is a little different and should be noted. For example, PS aux | grep File
If the statement is executed directly in shell, the search scope is only the process currently executed in top, and the
20. Use the shell command in the pipeline to obtain system running data:
1. output the five commands that occupy the most memory in the current system : #1) run the ps command to list all processes running on the current host. #2) The fifth
Bash -- DebuggerScript Script-arguments... Having used to VIM, writing BASH Shell also uses it. Generally, shell is short, so there is no way to improve efficiency, today, I accidentally saw someone mention a bash support plug-in for
What is data stream redirection?
What is data stream redirection? This should be explained by the running result of the command! Generally, if you want to run a command, it will usually be like this:
Figure 5.1.1 data transmission
1. FTP automatically logs in to batch download files.
##### From/home/data on the FTP server to the local/home/databackup #####! /Bin/bashFTP-n Open 192.168.1.171User guest 123456.BinaryCD/home/DataLCD/home/databackupPromptMget *CloseBye!2. FTP
Shell basics 1: file security and permissionsHttp://bbs.chinaunix.net/thread-434579-1-1.html
Appendix: Linux User and User Group ManagementHttp://bbs.chinaunix.net/thread-438660-1-1.html
Shell basics 2: Search Skills, use of find and xargsHttp://
Before scripts runs, the most feared problem is the syntax error! So how can we debug it? Is there a way to determine whether there is a problem without directly running the scripts? Haha! Of course! Let's take the bash-related parameters for
You can execute multiple commands at a time in the command line, including the following: 1. Use between each command;SeparateNote: The execution of each command does not affect the execution of other commands. In other words, each command is
$ {# String} $ String Length
$ {String: Position} In $ string , Extract substring from position $ position
$ {String: Position: length} In $ string , Extract substrings with a length of $ length from the position $ position
1. Description
Report a snapshot of the current processes.
PS [Options]
2. Common options
①L long format output;
②U displays processes in the username and start time order;
③J. display processes in the task format;
④F process is
16. find:
The following is an example of how to use the find command:/> Ls-l# List the test files contained in the current directory-Rw-r --. 1 root 48217 Nov 12 00:57 install. log-Rw-r --. 1 root 37 Nov 12 00:56 testfile. dat-Rw-r --. 1 root 10530
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.