Article Title: Classic Linux skills. 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.
1. Process special file names
Suppose there is a file name named "-ee" in Linux. If we want to perform operations on it, for example, to delete it, enter the rm-ee command in the command line according to the general deletion method. The interface will prompt "invalid option" (invalid option ), since the first character of the file name is "-", Linux regards the file name as an option. We can use the "--" symbol to solve this problem, run the "rm ---ee" command to delete the file named "-ee. If it is another special character, you can add a "" symbol before the special character, or use double quotation marks to enclose the entire file name.
2. install Linux directly
When installing the Linux operating system, you can use the software named uploadlin.exe in the system optical disk to directly transfer the Linux core to the memory. The Linux core replaces the current operating system to take over the computer and enter the Linux installation interface. When installing Linux, you only need to enter "loadlin E: imagesvmlinuz root =/dev/ram initrd = E: imagesinitrd. the img command can directly install Linux. "E: imagesvmlinuz" is the core name of Linux.
3. Eliminate crashes in Xwindows
We can use two common methods to eliminate this phenomenon: first, use the composite key "Ctrl + Alt + Backspace" on the keyboard to close the currently running task; second, first, press and hold the "Ctrl + Alt + F2" compound key on the keyboard, switch the system to another console, log on to the system, and then run the "# ps-ax/grep startx" command, this will list the process IDs of your Xserver, and then enter the following command in the command line to eliminate the crash phenomenon in Xwindows: # kill-9 PID_Number, finally, return to the original platform through the Alt + F1 compound key.
4. Quickly shut down the Linux System
The latest version of Linux/UNIX systems draws on the mainframe technology and uses a log file system that prevents power loss. It can automatically track and store user data and automatically refresh the file system synchronously, you can turn off the power at will to quickly shut down the system.
5. cleverly use the "rm" command
We can use the "rm" command with the "-r" parameter to delete a non-empty directory. For example, we can enter a command like "rm-r bbb" in the command line, the system deletes all files and subdirectories in the bbb directory.