Special symbols:
Input redirection: The output of the previous input into the file in the back, will erase the original contents of the file.Example:[Email protected] kang]# echo ' Hello World ' > Test.txt[email protected] kang]# cat
Routing, as the name implies, is sending a packet from one device to another on a different network, which relies on the router to do it. Routers only care about the state of the network and determine the best path in the network. The implementation
SED is the short name of the stream editor, which is the stream editors. Stealing a picture explaining the principleCommand format:sed [OPTION] ... {script-only-if-no-other-script} [input-file] ...Options:sed the action editor; The action of sed is
The NL command is used in a Linux system to calculate the line number of a file. NL can automatically add a line number to the output file content! The default result is a bit different from Cat-n, NL can make the line number more display design,
7.5 "Linux learning is not difficult" file/directory Management (5): LS command lists directory and file informationWith the LS command, all subdirectories and file information will be listed for the directory, and the file name and other
one, zip formatZip is probably the most used document compression format. Its greatest advantage is in the use of different operating system platforms, such as Linux, Windows and Mac OS. The downside is that the compression ratios are not very high,
1, add two new disk SDB, SDC;2. Configure the first disk SDB and change its partition type;3, similarly the second disk SDC configuration, and change its partition type;4. Gradually set two disks to physical volumes, volume groups, and logical
The Linux Find command searches the directory structure for files and performs the specified actions. The Linux Find command provides quite a lot of search criteria and is powerful. Because find has powerful features, it has a lot of options, most
1, Linux installation (slightly)2. Basic commandCD Switch Directory Home Directory. Represents the current directory.. Represents a parent directory that switches to the current directory~ Delegate switch to user home directoryNull rep
#学习内容来自莫烦pythonmkdir Creating a foldermkdir (make directory) is the idea of creating a folder, which is simple to use.$ mkdir Folder2If you want to create a folder for Folder2 inside this directory is Ok.$ mkdir FOLDER2/F2In this way, the F2 folder
LogThe role of the log:1. Solving the system problems2. Troubleshooting Network Services3. Record Past Events/var/log///log File save locationCron//Record recurring task scheduleDMESG//boot core detection informationLastlog//System all the last
Preparatory workThe main function of Yum (Yellow dog updater,modified) is to facilitate the addition, deletion and updating of RPM packages. It solves the problem of package dependencies and makes it easier to manage a large number of system update
Under the Linux operating system, how do I add a new user to a specific group? How do I add users to multiple groups at the same time? How do you move an existing user to a group or add a group to him? For people who don't use Linux, it's not easy
12 weeks three sessions (April 25)12.10 Nginx Access Log12.11 Nginx Log Cutting12.12 static files do not log logs and expire time12.10 Nginx Access LogThe format of the configuration file is in the main configuration file.Search for log to find the
The Linux Find command searches the directory structure for files and performs the specified actions. The Linux Find command provides quite a lot of search criteria and is powerful. Because find has powerful features, it has a lot of options, most
1, how to shut down the command line? (the server generally does not shut down, the virtual machine does not have to shut down, click "Hibernate", keep its running state)Enter shutdown or halt or Poweroff in the terminal2. How to restart the command
[What is make?] ] Make is a command tool that is a command tool that interprets instructions in makefile. It simplifies the instructions that are placed in the compilation process, and when make is executed, makes searches the current directory for
The test command is a tool for testing conditional expressions in the shell for conditional judgments.GrammarTest (option)if [(option)]File test-b Block: True if the file is a block special file;-c Character: True if the file is a character special
----The following actions are performed on the CENTOS7Add a port----the firewallFirewall-cmd--zone=public--add-port=80/tcp--permanentTo remove a port----a firewallFirewall-cmd--zone=public--remove-port=80/tcp--permanentFirewall-cmd--list-ports
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.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service