Vim command Summary: vim command
I recently started to use Linux. Now I want to summarize the vim command from a beginner's perspective.Four Vim Modes
1. Start Vim
1. Double-click the desktop icon to start Vim (GUI)
2. In the Start Menu, click Run and enter vim or gvim to start Vim or Gvim.
3. Enter the following command
The command mode is the most confusing mode. I have read a lotCodeAfter that, I felt vaguely aware of its general principles. I think the most important thing to understand the design pattern is to grasp the principle structure, so as to provide guidance for actual programming. the command mode is actually not very specific. It defines many modes. It is precisely this flexibility that makes people have some
Linux cp/scp command + scp command \ svn Delete All. Svn file find. -name. svn-type d-exec rm-fr {}\; Name: cp usage permission: All Users usage: cp [options] source destcp [options] source... directory Description: copy one file to another, or copy several files to another directory. Copy as much information as possible, such as the file status and permissions. -R if the source contains the directory name,
Encapsulate a request as an object so that you can parameterize the customer with different requests, exclude or record the request logs, and support cancelable operations.
The code is as follows:
/*** Command mode** Encapsulate a request as an object so that you can parameterize the customer with different requests, exclude requests or record request logs, and support cancelable operations*/Interface Command
Cpuid commands have two sets of functions. The first function returns the basic information of the processor, and the second function returns the extended information of the processor. Figure 1 summarizes the basic information of the processor that can be output by the cpuid command. The output of the cpuid command is completely dependent on the content of the eax register. According to the value in the eax
Run the VIM exit command and run the vim exit command.
Note: These commands are preceded by a colon:
You can use either of the following methods to exit Vi and return to shell after editing the document.
In command mode, two uppercase letters are used for a connection. If the edited document has been modified, Vi saves the document and exits, and returns to shell
Copy codeThe Code is as follows: /**
* Command mode
*
* Encapsulate a request as an object so that you can parameterize the customer with different requests, exclude requests or record request logs, and support cancelable operations
*/
Interface Command
{
Public function execute ();
}
Class Invoker{Private $ _ command = array ();Public function setCommand ($
/**
* Command mode
*
* Encapsulate a request as an object so that you can parameterize the customer with different requests, exclude requests or record request logs, and support cancelable operations
*/
Interface Command
{
Public function execute ();
}
Class Invoker{Private $ _ command = array ();Public function setCommand ($
Detailed Description: use Node. js to write a simple command line tool, node. js command line
This article describes how to use Node. js to write a simple command line tool:
The operating system must be Linux
1. Objectives
Enter a self-written command on the command line
The Sort command sorts all rows in the file. The Sort command has many very useful options, which were initially used to Sort the file content in the database format. In fact, the Sort command can be considered as a very powerful data management tool to manage files with similar content to database records.
The Sort command
Starting today to introduce you to the common Linux commands, first of all, we introduce the most frequently used command--ls command in Linux.
For more information on Linux commands, see: Linux Command Quick check manual
The Linux ls command is a powerful and useful comma
Echo is a more common command in Linux, especially in bash scripting, which is essential for its flexible use.In the man manual, the explanation is: Display a line of text, translation comes back or more popular point is to show characters or numbers. The explanation looks simple, but the command can be implemented with a lot of functionality.The reason I write about Echo is because of a job where the conte
user owns.Each file or directory has three groups of access rights, each group is represented by three bits, respectively, the read, write, and execute permissions of the file owner, the read, write, and execute permissions of the user belonging to the primary group, and the read, write, and execute permissions of other users in the system. When you use the LS-L command to display the details of a file or directory, the leftmost column is the file's
RM Delete File command1 , command formatRM [Options] File ...2. Command functionRM Command, delete File command, is a common command under the Linux system, the function of the command is to delete a file or a whole directory or
linux CP/SCP Command +SCP command detailedName: CPUsage rights: All usersHow to use:CP [Options] Source DestCP [options] source ... directoryNote: Copy one file to another file, or copy several files to another directory.The meter-A as far as possible file status, permissions and other information are reproduced as original.-R If the source contains a directory name, the files under the directory are also c
mysql command-common SQL statement Command code
Use G to display results vertically by rowIf a line is long and needs to be displayed, it's very hard to look at the results. By using g instead of a semicolon at the end of a SQL statement or command, you can export the value of each row vertically. This is probably one of the most familiar features of MySQL that
Tags: test COM head environment variable a comm hardware commonly used STR8.1 Shell IntroductionThe shell is the intermediate medium used when the system interacts with the computer hardware, and it is just a tool of the system.The user directly faces not the computer hardware but the shell, the user instructs the shell, then the shell again to the system kernel, and then the kernel to control the computer hardware to perform various operations.8.2 Command
1. Pipe command symbol "|" function is to use the standard output of the previous command as the standard input for the latter command, in the form: " command a| command B".The command to find the restricted login user is: grep "/
One linux Command every day, and one linux Command
2014-08-19
Redirection symbol greater than sign: redirects a command execution result (standard output, or error output, which is originally printed on the screen) to other output devices (files, open file operators, or a printer) Example: 1.ls> B .txt: Write the result of lsss to B .txt file (if any, the content
The watch command can help you monitor the running results of a command, saving you the need to manually run it over and over again. In Linux, watch periodically runs the next program and displays the execution result in full screen.
Watch is a very practical command. basically all Linux distributions have this tool. like a name, watch can help you monitor the ru
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.