CentOS online query commandCommand function man queries and explains how to use a command, as well as instructions for this command locate locates the file and directory whatis to find the meaning of a command 6.1 man command
The man command is
4 System Administration commands
Shutdown graceful shutdown &NBSP
Reboot Restart computer PS &NBSP ; Show transient process status, view current program execution ps-aux
Under Linux, many of our operations are implemented by commands, and we'll explain the use of commands under Linux in the next step. The first thing to do is to use the command first to know his format:The syntax format for linux commands is command
Cron is one of the most useful tools in a Linux system, and a cron job is a job that is scheduled to execute when a specified time arrives. The most common Automated system management and automatic maintenance work, such as a daily notification of a
For beginners who want to learn Linux, it can be very difficult to adapt to the command line or terminal. Since terminals are more useful than graphical user interface programs to help users control Linux systems, we must be accustomed to running
A: List of listed files1. List(GDB) List Line1,line2*********************************************************************************************Second: Execution procedureTo run a program that is ready for debugging, you can use the Run command ,
First, the basic command1. Who am I?WhoAmI--who am I2. Who is onlineW.H.O.W3. Show current path (positioning)Pwd4. Switch directoriesCD ~ Back to home directoryCd.. Return to the top level directory5. View a list of subdirectories and files in a
I. Column file list1. List(GDB) List line1, line2
Ii. Execution ProgramTo run the program to be debugged, run the Run Command, followed by any parameters sent to the program, including standard input and standard output specifiers () and shell
GDB debugging essence and ExamplesSource: Unknown (11:18:05)
I. Column file list1. List(GDB) List line1, line2
Ii. Execution ProgramTo run the program to be debugged, run the Run Command, followed by any parameters sent to the program, including
Apropos
Purpose: Search for the name of the instructions.
Example: apropos print (equivalent to man-K prink ).
Arch
Purpose: arch to obtain the description of the machine architecture.
Example: arch. The output result of arch is as follows:
Easily use the "Explain Shell" script to understand Shell commands
When we work on Linux, everyone will find the help information of shell commands. Although built-in help such as man pages And whatis commands are helpful, the output of man pages is
Some commands to be mastered in CentOSDetails:
1. tar
Create a new tar file
$ tar cvf archive_name.tar dirname/
Decompress the tar file
$ tar xvf archive_name.tar
View tar files
$ tar tvf archive_name.tar2. grep
Search for strings in files (Case
I. Column file list
1. List
(GDB) List line1, line2
Ii. ExecutionProgram To run the program to be debugged, run the Run Command, followed by any parameters sent to the program, including standard input and standard output specifiers () and shell
If you want to become a Linux expert, it is essential to master some Linux commands. The following are four methods to learn Linux commands. A progressive method to learn Linux commands is to display daily prompts every time you open the terminal.
GDB debugging essence and use Example 1: List of file columns 1. list (gdb) listline1, line2 2: If you want to run the program to prepare for debugging, you can run the run command, which can be followed by any parameters sent to the program,
How to quickly learn linux commands
Overview: You can use shell to interact with the kernel. There are many commands in Linux, and different commands have different functions. Multiple commands can be combined to complete a large function. Many
Overview: You can use shell to interact with the kernel. There are many commands in Linux, and different commands have different functions. Multiple commands can be combined to complete a large function. Many Commands cannot be remembered.
Therefore,
How Linux uses Help
How Linux uses Help
which command
Whatis command
Use the manual to get help-man command
View Help with the info command
Use the software's own help documentation to get help
Get help with online documentation
The man command in Linux is a key Linux command that beginners must master, this command can help in the learning of the various command problems that will not be used, each command can be found here in different ways to get the relevant help
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.