Home > php教程 > PHP开发 > Note 001 Basic concepts of Linux naming

Note 001 Basic concepts of Linux naming

黄舟
Release: 2016-12-26 10:43:56
Original
1204 people have browsed it

Written in front

Niao Ge’s Linux Private Cooking is a pretty good book. I recommend friends who are learning Linux to use this book for learning.

Hy369 uses this book to learn related things.

In the process of programming, I often go to the Internet to search for relevant information because I use a certain function, and some knowledge points are relatively common. Repeating Baidu over and over still seems a waste of time.

So Hy369 used the time of reading this book to summarize and organize some detailed points and record them in case of emergency.

Okay, without further ado, let’s post the first point.

Linux command format

[vbird@www ~]$ command [-options] parameter1 parameter2 ...
                                                                                                                                                                                                                                        *  
0. The first input part in a line of command is definitely "command" or "executable file"
1. command is the name of the command, for example, the command to change the path is cd, etc.;
2. The scratch sign [] does not exist in the actual command. When adding option configuration, there is usually a - sign before the option.
For example, -h; sometimes the full name of the option is used. Then there is a -- symbol before the option, such as --help;
3. parameter1 parameter2.. is the parameter attached to the option, or the parameter of command;
4. Command, option, parameter, etc. Each dong dong is distinguished by a space. No matter how many spaces there are, the shell will treat them as one space;
5. After pressing the [Enter] key, the command will run immediately. The [Enter] key represents the start of a line of commands.
6. When the command is too long, you can use backslash () to escape the [Enter] symbol so that the command continues to the next line.
Notice! Just follow the special character immediately after the backslash to escape!

The above is the content of Note 001 Basic Concepts of Linux Naming. For more related content, please pay attention to the PHP Chinese website (m.sbmmt.com)!



Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Recommendations
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template