10 tips for Linux beginners 1. linux is a case-sensitive system. For example, Mozilla, MOZILLA, mOzilla, and mozilla are four different commands (but only the fourth mozilla command is actually valid ). Also, my_filE, my_file, and my_FILE are three different files. User login names and secrets are also case sensitive (this is because UNIX systems and C languages are traditionally case sensitive ). 10 knowledge points for Linux beginners
1. Linux is a case-sensitive system. For example, Mozilla, MOZILLA, mOzilla, and mozilla are four different commands (but only the fourth mozilla command is actually valid ). Also, my_filE, my_file, and my_FILE are three different files. User login names and secrets are also case sensitive (this is because UNIX systems and C languages are traditionally case sensitive ).
2. The file name can contain a maximum of 256 characters, including numbers, periods (.), underscores (_), and crossbars (-), and other unrecommended characters.
3. Files with "." in front of the file name are generally not displayed when you enter the "ls" or "dir" command. You can think of these files as implicit files. Of course, you can also use the "ls-a" command to display these files.
4. "/" equals to "\" under DOS (root directory, which means the parent directory of all other directories, or an interval between directories and files ). For example, cd/usr/doc.
5. In Linux, all directories are displayed under a single directory tree (different from the drive ID of the DOS system ). This means that all files and directories on all physical devices are merged under a single directory tree.
6. In the configuration file, the line with the # header is the comment line. Do not delete old settings when modifying the configuration file ?? You can add "#" to the original setting to the comment line, and always add some comments about the modification in the modification area. You will find that you will benefit a lot in future management.
7. Linux is an inherited multi-user operating system. Put your personal settings (and other users' personal settings) in your home directory (usually/home/your_user_login_name ). The names of many configuration files start with ".", which is invisible to users.
8. The entire system scope is generally set under the/etc directory.
9. Similar to other multi-user operating systems, in Linux, files and directories have their own owner and access permissions. In general, you are only allowed to file under your home directory (/home/your_user_login_name ). Learn about file permission management. Otherwise, you will find Linux very troublesome.
10. The Command Parameter options are generally guided by "-", followed by a character (or "--", when the option exceeds one character ). In this way, "-" is a bit like "/" in DOS "/". For example, enter the rm -- help Command.
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.