Linux most commonly used command collation, recommended collection!

Click “Fang Zhipeng” above and select “set as star sign”

Reply “666” to obtain newly arranged interview materials a660201

Linux is the most widely used server operating system. It is based on UNIX and free of charge. Because of the stability and security of the system, Linux has a high market share and almost becomes the best system environment for program code operation.


Linux can not only run the program code we wrote for a long time, but also be installed in various computer hardware devices, such as mobile phones, routers, etc. the bottom layer of Android program is running on Linux system.


I. directory structure of Linux


/Subdirectory structure
  • Bin (binaries) holds binary executable files
  • SBIN (super user binaries) stores binary executable files, which can only be accessed by root
  • 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 root root directory
  • Dev (devices) is used to store device files
  • Lib (Library) stores shared libraries and kernel modules needed for running programs in the file system
  • Installation point for MNT (Mount) system administrator to install temporary file system
  • Boot stores various files used for system boot
  • TMP (temporary) is used to store various temporary files
  • Var (variable) is used to store files that need to change data at runtime


2. Linux common commands

Command format: Command option parameters (options and parameters can be empty)
For example: LS – LA / usr
2.1 operation documents and directories


2.2 common system commands



2.3 compression and decompression


2.4 file permission Operation
  • Interpretation of the description format of Linux file permissions


  • R-readable, w-writable, x-executable (or 111 110 100 — & gt; 764 in binary)
  • Bit 1: file type (d directory, – normal file, l linked file)
  • Bit 2-4: user permission, expressed by u (user)
  • Bit 5-7: group permission, expressed in G (Group)
  • Bit 8-10: other user rights, represented by O (other)
  • Bit 2-10: all permissions, a (all)


III. common shortcut keys and symbolic commands in Linux system


IV. VIM editor

VI / VIM is the most commonly used text editor on Linux and is very powerful. There are only commands and no menus. The following figure shows the switching diagram of various modes of VI commands.


4.1 revised text


4.2 positioning command


4.3 replace and cancel commands


4.4 delete command


4.5 common shortcut keys

Author: icoder.long source: blog.csdn.net/xulong/article/details/81463054


热门内容:   
    
  • How powerful is the "12306" architecture?
  • Don't log in Java code. This is the right way to log
  • If anyone had blown up the Alipay storage server
  • Spring boot wechat ordering open source system
  • &How to design permission management module
  • Design of the most grounded short link system in the eastern hemisphere
  • Ali forbids joining for more than three tables. Why?
  • Springboot + mybatis + Druid + PageHelper to realize multi data source and paging


Recently, I interviewed bat and sorted out an interview material, Java interview bat customs clearance manual, covering Java core technology, JVM, Java concurrency, SSM, microservice, database, data structure, etc.

The way to get it is to click "watch", pay attention to the public number and reply to   666  receive more content.

See you tomorrow;

Leave a Reply

Your email address will not be published. Required fields are marked *