introduced
Learn Linux, skilled operation of the basic command is the premise, often the basic command is the need to deeply remember into ventricles nautical mile. Below, is my Linux basic command boot, guide me to record the use of the basic commands.
Directory
An elegant sentence that takes you to the ocean of Linux commands:
General format: # COMMAND OPTIONS ARGUMENTS
COMMAND: Command
Initiating a command: Requests that the kernel run a binary program as a process;
The command itself is an executable program file: A binary format file that may invoke a shared library file;
Most system program files are stored in:/bin,/sbin,/usr/bin,/usr/sbin,/usr/local/bin,/usr/local/sbin
General Command:/bin,/usr/bin,/usr/local/bin
Management commands:/sbin,/usr/sbin,/usr/local/sbin
Shared libraries:/lib,/lib64,/usr/lib,/usr/lib64,/usr/local/lib,/usr/local/lib64
32bits Library:/lib,/usr/lib,/usr/local/lib
64bits Library:/lib64,/usr/lib64,/usr/local/lib64
Note: Not all commands have a executable program file that corresponds to a directory
The commands are divided into two categories:
Commands that are brought in by the shell program: Built-in commands (BUILTIN)
Standalone executable program file, file name is command name: external command
Shell program is a unique program, responsible for parsing the user-supplied commands;
Environment variables:
Path: The path from which to find the command file for the command string that the user typed;
This article is from the "home of small Mosquitoes" blog, be sure to keep this source http://timber.blog.51cto.com/7677013/1730471
Basic Command Boot Chapter