Get the App
SLTechnology News&Howtos  ›  Servers  › 

What are the knowledge points that Linux beginners need to know?

Shulou Source: shulou.com Published: 2022-05-31 14:33:44 10月09日 Update

This article mainly introduces "Linux novice to understand what knowledge points", in daily operation, I believe many people in Linux novice to understand what knowledge points there are doubts, Xiaobian consulted all kinds of information, sorted out simple and easy to use operation methods, I hope to answer "Linux novice to understand what knowledge points" doubts helpful! Next, please follow the small series to learn together!

Linux is a case-sensitive system, Mozilla, MOZILLA, mOzilla and mozilla are four different commands (but only the fourth mozilla is really valid). Also, my_filE, my_file, and my_FILE are three different files. User logins and secrets are also case-sensitive (this is because UNIX systems and the C language have traditionally been case-sensitive).

2. File names can have up to 256 characters and can contain numbers, dots, and ". ", underscore"_", crossbar"-", plus some other characters that are not recommended.

3. File name preceded by ". "files are generally not displayed when entering the"ls"or"dir"command. You can think of these files as implicit files, but you can also use the command "ls -a" to display them.

4. A "/" pair equals "\" in DOS (root directory, meaning parent directory of all other directories, or a space symbol between directories and between directories and files). For example, cd /usr/doc.

5. Under Linux, all directories are displayed under a single directory tree (as opposed to the drive identifier for DOS). This means that all files and directories on all physical devices are consolidated under a single directory tree.

6. In configuration files, lines starting with #are comment lines. Try not to delete old settings when modifying configuration files-you can add "#" to the original settings into comment lines, always add some comments about modifications in the modified places, and you will find that you will benefit a lot from future management.

Linux is an inherited multi-user operating system. Your personal settings (and those of other users) are placed in your home directory (usually/home/your_user_login_name). Many configuration files have file names starting with ". "So users generally don't see these files.

8. System-wide settings are typically placed in the directory/etc.

9. Similar to other multiuser operating systems, under Linux files and directories have their own owners and access rights. In general, you are only allowed files in your home directory (/home/your_user_login_name). Learn something about file permissions management, or you'll find Linux a real pain in the ass.

10. Command parameter options are generally preceded by a "-" followed by a single character (or "--" when the option is more than one character). Thus,"-" is a bit like "/" in DOS. For example, type the command rm --help.

At this point, on the "Linux novice to understand what knowledge points" learning is over, I hope to solve everyone's doubts. Theory and practice can better match to help everyone learn, go and try it! If you want to continue learning more relevant knowledge, please continue to pay attention to the website, Xiaobian will continue to strive to bring more practical articles for everyone!

Tags: File directory system knowledge command user learning novice knowledge point character example size comment configuration different operating system personal between meaning file name Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Linux macOS NVidia Shulou Tech Info Redmi