Linux Command (1): ls command, linux Command ls
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 the current directory. If ls specifies other
command-line editing:Cursor Jump:CTRL + A: Skip to the beginning of the commandCtrl+e: Jump to the end of the command lineCtrl+u: Delete the cursor to the beginning of the command lineCTRL+K: Delete the cursor to the end of the command lineCtrl+l: Clear ScreenCtrl+d: Delete the contents after the cursorCommand history:
Linux Command sharing: detailed explanation of the netstat command and the netstat command
The netstat command is used to display statistics related to IP, TCP, UDP, and ICMP protocols. It is generally used to check the network connection of each port on the local machine. Netstat is a program that accesses networks a
Linux Command: cd command learning and use, linux Command cd Learning
The Linux cd command is the most basic command statement in Linux. Other command statements are created on the cd command
1. RoleThe top command is used to display the program process in progress, and the permissions are all users.2. FormatTop [-] [D delay] [Q] [C] [s] [s] [i] [n]3. Main parametersD: Specifies the interval of the update, in seconds.Q: There are no delayed updates. If the user has a superuser, the top command will be executed with the highest precedence.C: Displays the full path and name of the process.S: Cumul
1, Connection MySQL format: mysql-h host address-u user name-P user Password1. Connect to MySQL on this machine. First open the DOS window, then enter the directory Mysql\bin, and then type the command Mysql-u root-p, enter after the prompt you to lose the password. Note that the user name can have a space or no space, but before the password must have no space, or let you re-enter the password.If you have just installed MySQL, superuser root is no pa
One linux Command every day (12): more command, linux Command 12 more
The more command is similar to cat. The cat command displays the content of the entire file on the screen from top to bottom. More will display one page at a time to facilitate users to read one page at a
1, execute command and script on remote host based on password and secret keySsh-t IP "CLI or shell.sh";The 2,C program implements the above functions--based on password-lessPorting the simple C program above to a different system to use the testAuthorized_keys;Copy the ~/.ssh/id_rsa.pub itself to the host that needs passwordless and append the id_rsa.pub content to the ~/.ssh/authorized_keys, then you can passwordless the login.3. Copy the SSH key to
Watch is a very useful command, basically all Linux distributions with this gadget, like the name, watch can help you monitor the results of a command, save you to manually run over and over again. Under Linux, watch is the periodic execution of the next program, and full-screen display of the execution results. You can use him to monitor everything you want. The result of the
Tags: log file file distinguishes TXT access short expression pipe character class
Shell Special Symbol Cut command
Special symbols* wildcard characters, any of any character? Any one character# comment Characters\ de-Semantic charactersC=\ $a \ $bEcho $c| Pipe characterCat 1.txt |lessCat 1.txt |moreCut intercept stringShow first 2 rowsCAT/ETC/PASSWD |head-2Cut ":" First paragraph cut-d ":"-F 1Cut two: cut-d ":"-FETC/PASSWD the firs
Linux Command: cp command learning and use, linux Command cp Learning
The cp command is used to copy files or directories. It is one of the most common commands in Linux. In general, shell sets an alias. When copying a file under the command line, if the target file already
Linux Command learning Summary: rm command, linux Command summary rm
Command introduction:
This command is used to delete files or directories in Linux. Normally, rm will not delete the directory. You must specify the-r or-R parameter to delete the directory. In addition
Tags: string alt match Delete offset size file internal command string
Command history
HistoryEnvironment variables:Histsize: Number of records in the command historyHistfile:~/.bash_historyHistfilesize: The number of history records in a command history filehistory-d OFFSET: Delete a HistoryHistory + Num
Linux Command: rcp command usage details, linux Command rcp details
Rcp stands for "remote file copy" (remote file copy ). This command is used to copy files between computers. The rcp command has two formats. The first format is used to copy files to files. The second forma
Linux Command (8): cp command, linux Command cp
The cp command is used to copy files or directories. It is one of the most common commands in Linux. In general, shell sets an alias. When copying a file under the command line, if the target file already exists, it will ask wh
Shell Special character Cut command
Any of any characters? Any one character#注释字符\ de-Semantic characters·| pipe characterCut intercept string-D Specify delimiter-f Specifies the Intercept paragraphBy looking at what we can see,/etc/passwd is divided into 7 segments.·If you use ":" to intercept the first paragraph of the delimiter·Intercept the first to second paragraph (comma in English)·Intercept one to three segments (with a horizontal bar)·-c
Linux basic command date command, linuxdate command
1. Time Command: date
The parameter passed to the date command applies to '+' (plus sign). In the parameter passed
% Y indicates year
% M indicates month
% D Indicates day
% H indicates the hour (the time is 00-23)
%
Ls- L : Long Format File type: the - : Normal file (f)D: Catalog FilesB: block device files (blocks)C: character device files (character)L: Symbolic Link file (symbolic Linkfile)P: command Pipe file (pipe)S: socket file (socket) File permissions: 9-bit, every 3-bit group, each group: rwx (Read, write, execute), r-- Number of hard links to files owner of the file Genus Group of files File size (size), in bytes timestamp (timestamp): Last Modified time
Linux Command head command, linux Command head
The head and tail are just as easy to understand as their names. They are used to display a certain number of text blocks at the beginning or end, and the head is used to display the beginning of the file to the standard output, and tail takes it for granted that it is the end of the file.
1.
The KILL command is used to terminate the run of the specified process.Sends the specified signal to the corresponding process. Not specifying a model will send Sigterm (15) to terminate the specified process. If the program can not be terminated with the "-kill" parameter, it sends a signal of Sigkill (9), which will force the end of the process, using the PS command or the jobs
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.