Linux is the most commonly used commands: to solve the problem of more than 95%

Author: frog class network
link: https: //zhuanlan.zhihu.com/p/91908297
Source: know almost
copyrighted by the author. Commercial reprint please contact the author authorized, non-commercial reprint please indicate the source.
 

Linux is the most widely used server operating system based on Unix, a free open source, due to the high stability and security of the system, the market share has almost become the best system environment program code runs. linux can not run for a long time we write program code can also be installed in a variety of computer hardware devices, such as mobile phones, routers, Android lowest level program is run on linux system.

A, Linux directory structure

/ Lower directory

  • bin (binaries) to store binary executable file
  • sbin (super user binaries) to store binary executable file, only root can access
  • etc (etcetera) storage system configuration files
  • usr (unix shared resources) used to store shared system resources
  • home storage root directory of user files
  • superuser root directory
  • dev (devices) for storage of the device file
  • lib (library) is stored with the file system to run the required shared libraries and kernel modules
  • mnt (mount) system administrator to install temporary file system mount point
  • storing boot used for various system boot files
  • tmp (temporary) for storing all kinds of temporary files
  • File var (variable) for storing data needed to change the runtime

Two, Linux common commands

Format: command - option parameters (options and parameters can be null)

如:ls -la /usr

2.1 operating files and directories

2.2 system commonly used commands

2.3 compression and decompression

2.4 File Permissions operation

  • Interpretation description format linux file permissions

  • r read permission, write permission W, x executable permission (which may be represented by a binary 111 110 100 -> 764)
  • Bit 1: file type (d directory, - regular files, l linked file)
  • Bit 2-4: their user rights expressed by u (user)
  • Bit 5-7: belonging group permissions, denoted by g (group)
  • Bits 8-10: other user rights, represented by o (other)
  • 2-10 bit: that all the permissions, represented by a (all)

Three, Linux systems commonly used shortcut commands and symbols

Four, vim editor

vi / vim on Linux is the most commonly used text editor and very powerful. Only the command, no menu, the view showing various modes of FIG switching command vi.

4.1 Modify text

4.2 Positioning command

4.3 replacement and cancel the command

4.4 Delete command

4.5 Keyboard Shortcuts

Source: CSDN

Author: icode.long

Original: https://blog.csdn.net/xulong_08/article/details/81463054

Released eight original articles · won praise 13 · views 60000 +

Guess you like

Origin blog.csdn.net/qq_37655695/article/details/104811975
Recommended