1, fast loading system files
We all know that before we use the linux file system, we need to mount the specified file system first by using the mount command. After using it, we must use the unmount command to uninstall the specified file system. File system. Now, we can use the autofs command in RedHat linux6.0 to avoid the pain of each mount and umount. In addition, RedHat6.0 also comes with autofs rpm command, as long as we install it, we can enjoy it. The convenience of automatically loading the file system. We first create a cd directory in the /misc directory. If you use its own auto.misc and auto.master, you can implement the autoload function right away.
2. Quick installation work
Usually when we install an operating system software, we need the boot disk of the system to be installed. But when we install the Linux operating system, we can use the DOS software named loadlin.exe on the system CD to transfer the Linux kernel directly into the memory, and the Linux kernel replaces the current operating system to take over the computer and enter the Linux Installation interface. When installing Linux, we can directly install Linux by entering loadlin E:\\images\\vmlinuz root=/dev/ram initrd=E:\\images\\initrd.img in the run dialog; E is the CD-ROM drive. Character, E:\\images\\vmlinuz is the Linux core name.
3, Quick Start System
With the increasing configuration of personal computers, installing Linux on your own computer is nothing new. Suppose we have both Windows and Linux operating systems installed on our computer. How do I start Linux? Do I need to restart my computer every time and boot through LiLo? In fact, if we are under dos, there is a simple and quick way to start Linux. That is load Linux. Loadlin.exe is an executable program under dos that can start Linux quickly in a pure dos environment without restarting the computer. Usually we can find this program in the /kernels directory of the CD. If you don't know where this program is placed on the installation disk, you can use the "find -name loadlin*" command to find it. Once you find it, copy it to the dos partition and copy the Linux kernel file you are using. You can copy directly from the CD through Windows, or use the mcopy command to copy the file to the dos partition in the Linux environment; then write a Linux.bat batch file with the following contents: c:\\loadlin c:\\vmlinuz root= /dev/hda1 ro, where we assume that the two kernel files loadlin.exe and vmlinuz are in the root directory of the c drive, and root is the Linux root device, and Linux is in the first partition of the hard disk, so the device name is /dev/hda1, Ro means readonly. When you want to start Linux under dos, run Linux.bat. This starts Linux quickly and efficiently, greatly reducing the waiting time for system self-test.
4, quickly create a file list
Under the Linux operating system, we can also achieve the playback of MP3 files, but in the Linux command line state, we can only one Play songs in the first place. If we want to play all the MP3 files in a certain directory continuously, we must first create an MP3 playlist for all the audio files with the extension mp3, and then use the play command to play them in sequence. The music files in the list, then how do we create a playlist of mp3 files? In fact, it is very simple, we just need to enter the following command in the system command line: find /mnt/cdrom -name *.mp3 -print >> ;cd1.play.list, this will create a file named play.list for all MP3 files in the specified directory. Then use the xmms or x11amp commands to play these mp 3 music.
5, fast input command
Since most of the Linux operation interface is in the command line input state, if you want to perform a certain function, you may need to enter a long command character. If you need to repeat such a command several times in the implementation of a certain function, then we still enter such a character and a character, it is certainly more troublesome, then we have no way to quickly input the previously used commands? The answer is of course Certainly, we can use the "!" in the Bash Shell to repeat the commands that have been entered a few times, so that you can save the trouble of re-entering the command.
6. Quick Launch Editor
When we use the less or more command to view a file, we may find that the file being viewed has errors or other needs. The content of the modification, we need to modify it at this time, but in the view state, we can not directly edit the file, we must start the editor separately to edit, then in this state, we should What method can I take to start the editor quickly? In fact, the operation is very simple. If we type the v key in less, we will immediately start vi or other editors that you specify in the environment variable, but in the more mode we can only use Vi command.
7. Quickly shut down the system
Older versions of Linux/UNIX systems must run the shutdown command before powering down, but the latest version of Linux/UNIX has been made in this regard. Great improvements, no longer need to be shut down as before. Because the new version draws on the technology of the mainframe, it adopts a log-type file system that is resistant to power loss. It can automatically track and save user data and automatically synchronize the file system. Users can turn off the power at will, thus achieving the purpose of quickly shutting down the system.
If Linux does not shut down properly, it may result in the inability to enter the Linux KDE environment and only in the console environment, and there are constantly large blocks of English characters rolling up. After logging in as root, type the startx command and the error message "x server cannot be connected" appears.
8, quickly delete files
We know that in the Linux character interface, you can use the rm command to delete a file, delete a directory can use the rmdir command. However, since the rmdir command can only delete a blank directory, if there is a file under a certain directory, you can only use the rm command to delete the files in the directory. Therefore, you usually need the rmdir and rm commands. Completely delete a complete directory. But using this method to deal with several levels of subdirectories can also make do, if a directory contains several subdirectories, and these subdirectories contain several levels of subdirectories, then use this method does not make you exhausted . Now we can use the rm command with the -r parameter to delete a non-empty directory. For example, we enter a command such as rm -r bbb on the command line, indicating that the system will delete all files and subdirectories contained in the bbb directory.
9, quick access console
When we log into the Linux system, if you press the Alt+F2 button on the keyboard, we can see a shell prompt. In fact, this is the second virtual console. Usually, there are four virtual consoles in the newly installed Linux system. We can access them by using the composite keys Alt+F1, Alt+F2, Alt+F3, Alt+F4 respectively. The most frequent use of the virtual console is that when a program error locks the input or the Linux system suddenly loses its response, it can switch to another virtual console to log in and kill the faulty process task.
10, fast decompression file
If we need to decompress several compressed files, some users may use the unzip command to decompress the compressed files one by one, but this kind of The method operation efficiency is too low, and some users think of using wildcards to compress multiple files at the same time, but when they type unzip *shi on the command line, they find that there is a wrong prompt, then what should be done? At the same time Unzip multiple files? In fact, the method of using wildcards is correct, except that the commands entered by the user on the command line are incorrect, and the correct input should be unzip "*".
Add ftp user in linux, and set the corresponding permissions, the operation steps are as follows: 5
The repo file is the configuration file of the yum source (software repository) in Fedora. Usually a
In different Linux distributions, there will be different GUI programs that can display various syst
According to foreign media reports, Linux does not seem to be fully loved by people. Operating syste
Replace VMware ESX Server Console NIC and Recovery Solution
How to use the Linux operating system Rar compressed file package
Implement Linux and Windows file transfer
Linux sort command parameters and usage details
Linux available disk capacity adjustment reserved space
NFS service common troubleshooting
Nginx self-starting file running error
Linux Shell Script Common Command Manual
Ls -l | Wc -l command multiple statistics one line
Linux two simple alternatives to "peanut shell" software
How to determine whether Linux is running on a virtual machine
The iron fact: the MAC address of the physical network card can never be modified
Windows 7 comes with software to easily complete the hard disk partition
How to shield the intelligent arrangement function in Windows 7
How to use uniq command to delete text duplicate lines in Linux system
How to read U disk under Linux
Linux Advanced Users, Groups and Permissions Introduction
Windows 10 Desktop Build 14366 and Mobile Build 14364 Release