New Linux beginners need to develop seven habits
For many Linux beginners, they will feel uncomfortable when they first use the system. This makes seven habits that people have told me when they started to use Linux. Using these seven habits, you will feel that Tianjia is handy when using Linux.
First, do not Log On As A root user. Users who are used to Windows always think that the higher the permission, the better. Therefore, we like to log in with an administrator account. However, this may be an important cause of virus harassment and insecurity in Windows. The higher the permission, the greater the responsibility. If you have administrator permissions, you must be cautious about what you do, but errors are inevitable. If you log on as a root user, it is possible to execute the wrong command, destroy your system, or run malicious software accidentally, because in the root user mode, by default, the highest permissions are granted to the startup of any program. If security vulnerabilities in the system are not fixed, they may be completely controlled by others. If you do not log on to the root user interface, you can use the sudo or su command and exit when you complete management. If you do not know how to use the command line, you can use gksu or kdesu to enter the GUI. For example, press Alt + F2 and press "gksu nautilus" and end the program immediately when you finish.
2. Name your file reasonably. in Linux, you can name the file as you wish, but "/" is dedicated to the root directory, and do not use invalid characters. Others are technically acceptable, but in order to avoid future troubles, we should try to use only letters, numbers, connectors "-" And underscores "_" for naming 「_」, avoid using special characters such as dollar signs "$", arc, and percent. These characters have special meanings for Shell and may cause conflicts. It is silly to avoid spaces and process files containing spaces on the terminal. Unfortunately, many users, especially Windows users, are used to this. You can use a connector or underline to replace spaces.
3. Place your home directory in an independent partition, which gives you great flexibility. When you reinstall the system or even upgrade your entire version, data and personal settings will not be lost. Don't be disappointed if you know this after installing the system. You can follow Carthik in
The "Move/home to it's own partition" section on the ubantu Blog is completed step by step.
Fourth, reasonable disaster management. Linux is relatively powerful and stable, but any system will crash. Before you restart your CTRL-ALT-DEL, you should learn how to deal with your accident. You need to know how to easily restore your system without restarting. I personally think this situation can be divided into several different levels. If the previous step does not work, move to the next step. First, place the forced close (xkill) program on the taskbar. If any program has a problem, click it to end the program. If the previous step does not work, enter ps-A on the terminal, write down the problematic program process number, and end it. You can also use the killall command, such as "killall firefox-bin 」. If the entire graphical interface is frozen and it is not possible to use the terminal, you can press the CTRL-ALT-F1 to another terminal, and then try the above method. If not, you can use CTRL-ALT-Backspace to restart the graphic interface, but note that this will end your running GUI program. Use the CTRL-ALT-F1 and then press CTRL + ALT + DEL so that your system won't be restarted immediately, just reboot in normal mode, so it's safe, with the condition that the CTRL-ALT-F1 is available. If this doesn't work, do not remember to press the force restart button to try Raise a Skinny
Elephant.
Fifth, do not be afraid to try different programs, Graphics Management and desktop. Experiment until you find the one that best suits you. You can think like this, you now live in the best place in the world, but traveling around the world will not have any harm? Maybe you can still find a better place to live. Even if you can't, the time you travel is worth a good taste. You are interested in other countries, their people and customs, more ways of thinking, maybe you will like this attempt. Any new things you try will increase your knowledge. In about a year, you will have a good grasp of Linux and the open-source world. Use Vmware or Virtualbox to install virtual machines and use them for testing.
6. Familiar with using your command line. Although it is not recommended that you learn the command line, too many articles have always stressed the importance of learning the command line, especially when you need to manage the server through SSH or other remote methods. It is better to use command lines to process some simple management tasks. You can follow the instructions and manuals for configuration, but do not copy or paste them.
7. Make some preparations for your application and wear your Linux system with you, whether stored on a USB flash drive or CD. I have had a lot of such experiences. When a friend asks me to do something on his computer, but the job system he chooses may be faulty. Prepare your own flash drive Linux to make sure that the environment you are working on is "clean, non-toxic", especially useful in saving viruses in Windows.
This article permanently updates the link address: