Article Title: Collect by netizens: sharing experiences with Linux operating systems. Linux is a technology channel of the IT lab in China. Includes basic categories such as desktop applications, Linux system management, kernel research, embedded systems, and open source.
Linux is becoming more and more popular. The Microsoft "black screen" event shows us the danger of relying too much on Microsoft. The previous OOo World Open Source Conference also showed us the future of open source. As an open-source operating system, Linux, I believe more and more people will use it. Next we will provide you with ten Linux user experience to prepare for your future needs.
1. Use the virtual console
After logging on, press the "Alt + F2" key to see the "login:" prompt, which is the second virtual console. Generally, the newly installed Linux has four virtual consoles, which can be accessed from "Alt + F1" to "Alt + F4. The most useful time in the virtual console is that when a program fails to lock the input, you can switch to another virtual console. log on to the console and run the kill command to kill the faulty process.
2. copy and paste
After the character interface (Slackware or RedHat) is installed, a program named gpm is automatically run at each startup. After the program runs, you can copy and paste it with your mouse. The specific method is to press and hold the left mouse button to drag the text to be copied to the white, then the white area has been copied, right-click the copied content and paste it at the cursor position.
In X-Window, the copy operation is the same as in the character interface. If you use a three-Key mouse, press and paste it. If it is a two-Key mouse, press the left and right keys at the same time (the condition is that Emulate 3 Button must be selected in the mouse setting when XF86 is configured ).
3. quick access to some Directories
Type cd ~ You can access your home directory. Type cd-to enter the previous directory.
4. display the color directory list under RedHat
Open/etc/bashrc and add the following line:
When bash is started next time, the colored directory list will be displayed as in Slackware. The meanings of different colors are as follows:
Blue → directory green → Executable File red → compressed file light blue → link file gray → other files
|
5. command file path
When you type some commands (such as find, shutdown, mount, and startx), do you want to know which directory the files are stored in? You can use the command "whereis", for example:
6. Search for files
The find command must add some parameters to check the file, for example:
#find /usr -name XF86Setup -print
|
Find the XF86Setup file in/usr.
7. Delete useless core files
After the program is run, a file named core is sometimes generated, which is usually large and useless and can be deleted to release space.
8. Norton Commander in Linux
After you type the command mc at the prompt, you will see a very strong interface with Norton commander, and the functions on the page are also very powerful, such as directly operating the files in the .tar.gz package (a bit like ZipMagic ).
9. Run the X-Window program in the background
When executing an X-Window program, do not forget to add an & sign (for example, # netscape &) next to it. Otherwise, you cannot enter commands in the terminal window before exiting the program.
10. Force exit X-Window
Sometimes in X-Window, the mouse and keyboard do not work due to a program error. In this case, don't worry, because in Linux, it is almost not as vicious as in Win 9x, you only need to press Ctrl + Alt + BackSpace to return to the character interface.