Linux is the most commonly used system for server systems. It is open source and free based on unix, and the system stability is very high, so it is adopted by more servers. Today, Xiaoqian will introduce some of the more commonly used Linux commands for everyone to operate and learn.
One, the directory structure of linux
bin (binaries) store binary executable files
sbin (super user binaries) stores binary executable files, only root can access
etc (etcetera) stores system configuration files
usr (unix shared resources) is used to store shared system resources
home The root directory where user files are stored
root super user directory
dev (devices) is used to store device files
lib (library) stores the shared libraries and kernel modules needed to run programs in the file system
mnt (mount) The mount point where the system administrator mounts the temporary file system
boot stores various files used when the system boots
tmp (temporary) is used to store various temporary files
var (variable) is used to store files that need to change data at runtime
Two, linux commonly used commands
Command format: command -option parameters (options and parameters can be empty)
Such as: ls -la /usr
2.1 Operating files and directories
2.2 Common commands of the system
2.3 Compression and decompression
2.4 File permission operation
Interpretation of the description format of linux file permissions
3. Commonly used shortcut keys and symbol commands in linux system
Four, vim editor
vi / vim are the most commonly used text editors on Linux and they are very powerful. There are only commands and no menus. The following figure shows the switching diagram of the various modes of the vi command.
4.1 Modify the text
4.2 Positioning commands
4.3 Replace and cancel commands
4.4 Delete command
4.5 Commonly used shortcut keys
This article is from Qianfeng Education , please indicate the source for reprinting.