In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-16 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/01 Report--
This article mainly explains the "commands most commonly used in Linux". The content of the explanation is simple and clear, and it is easy to learn and understand. Please follow the editor's train of thought to study and learn "the most commonly used commands in Linux".
Linux is currently the most widely used server operating system, based on Unix, open source free, due to the stability and security of the system, high market share, almost become the best system environment for program code to run. Linux can not only run the program code we write for a long time, but also be installed in a variety of computer hardware devices, such as mobile phones, routers and so on. The bottom layer of the Android program runs on the linux system.
I. the directory structure of linux
Image
Bin (binaries) stores binary executable files
Sbin (super user binaries) stores binary executable files, which only root can access
Etc (etcetera) stores system configuration files
Usr (unix shared resources) is used to store shared system resources
Home root directory where user files are stored
Root superuser directory
Dev (devices) is used to store device files
Lib (library) stores shared libraries and kernel modules needed to run programs in the file system.
Mnt (mount) system administrator mounts the temporary file system mount point
Boot stores all kinds of files used for system boot
Tmp (temporary) is used to store all kinds of temporary files
Var (variable) is used to store files that need to change data at run time
Second, linux common commands
Command format: command-option parameters (options and parameters can be empty)
For example: ls-la / usr
2.1 operating files 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 permission, w writeable permission, x executable permission (can also be expressed in binary 111 110 100-> 764)
Bit 1: file type (d directory,-normal file, l linked file)
Bits 2-4: user permissions, indicated by u (user)
Bit 5-7: group permissions, indicated by g (group)
Bits 8-10: other user rights, indicated by o (other)
Bit 2-10: indicates all permissions, represented by a (all)
Third, linux system commonly used shortcut keys and symbol commands IV. Vim editor
Vi / vim is the most commonly used text editor on Linux and is very powerful. There are only commands, no menus. The following figure shows the switching diagrams of the various modes of the vi command.
Image4.1 modify text 4.2 positioning command 4.3 replace and cancel command 4.4 delete command 4.5 commonly used shortcut keys thank you for reading, the above is the "Linux most commonly used commands" of the content, after the study of this article, I believe that you have a more profound understanding of the most commonly used commands of Linux this problem, the specific use of the need for you to practice verification. Here is, the editor will push for you more related knowledge points of the article, welcome to follow!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.