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:
Command 1: alias
An alias is used for convenience. If you have a frequently-used command for a long time, you can set an alias to be equivalent. For example, the default alias of LS-Alf is ll.
The alias format is as follows:
Alias alias = command
Alias alias = "command combination"
Alias allows you to view
Linux Command: rcp command, linux Command rcp
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 format is used to copy file
Rmdir command usage introduction for one linux Command every day, And rmdir command sharing for linux commands
Rmdir command. Rmdir is a common command used to delete an empty directory. A directory must be empty before it is deleted. (Note that the rm-r dir
Label:MySQL command line when executing a multi-line command, if the command entered in front of an error, is unable to return the modification, but can be input \c to cancel the front input, but at this time if the front input a lot of things, the direct cancellation and unfortunately, can be \p to print out the front of the
//file with special symbols, numbers, first-line special symbols, numbers, letters([}1134588AadggbbbbDgfggfSort-n Options[[email protected] ~]# sort-n filename//-n option to sort by numbers, and to recognize special symbols and letters as 0([}AadggbbbbDgfggf1188345SORT-NR filename,-r option, reverse sort, max in front, smallest in backCommands #wc-l//Count rows[[email protected] ~]# wc-l 2.txt//Statistics 2.txt file line number2.txt#wc-m//Statistics character count
The top command is a tool for viewing system performance that shows the status of individual processes in real time, including process IDs, memory usage, CPU usage, and so on.top-23:12:04 up/8:14, 1 user, load average:0.00, 0.01, 0.05tasks:573 Total, 2 running, 571 sleeping, 0Stopped, 0 zombiecpu (s): 0.2%us, 0.4%sy, 0.0%ni, 99.5%id, 0.0%wa, 0.0%hi, 0.0%si, 0.0%stmem:198450624k Total, 35993240k used, 162457384k free, 797292k buffersswap:7999952k total
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
the manual, the results found to get VRDP support also need to install additional expansion packs, detailed instructions can refer to here.Select the appropriate version to download the extension package from the VirtualBox download page. When the download is complete, double-click to complete the installation, or file-preference-extensions in the menu to install and view the installed expansion packs.Install again to execute the above remote command
support also need to install additional expansion packs, detailed instructions can refer to here. Select the appropriate version to download the extension package from the VirtualBox download page. When the download is complete, double-click to complete the installation, or file-preference-extensions in the menu to install and view the installed expansion packs.Install again to execute the above remote command, this can see the virtual machine interf
1. Beijing fast _ Three build Q1446595067
Linux is a set of and based on the GNU Combination Software and the Linux kernel.
2. What is a shell?
We often hear Shell,shell, but what is a shell?
Shell---> Shell, we all know that the Linux kernel is used to handle all the commands in the Linux System Center, it does not have the idea, as long as the command is transmitted to it, it will execute, but all the
{system.invalidoperationexception: If the connection assigned to the command is in a locally pending transaction, ExecuteReader requires the command to have a transaction. The Transaction property of the command has not been initialized.In System.Data.OleDb.OleDbConnectionInternal.ValidateTransaction (oledbtransaction transaction, String method)In System.Data.Ole
Linux Command Learning (1) -- ls command, linux Command learning ls
The first thing you need to know is the command prompt.
[Root @ localhost ~] #
Current login user (root)
Host Name (localhost)
Current Directory (Home Directory)
Super User prompt (#)
Normal user prompt ($)
1.1
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
Linux Command curl command details, linux Command curl detailsCommand: curlIn linux, curl is a File Transfer tool that uses URL rules to work under the command line. It can be said that it is a powerful http command line tool. It supports file upload and download. It is a co
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
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.