computer stores in Linux Due to the good network functions of the Linux operating system, many websites on the Internet use Linux as the main operating system. However, since the operating system is a multi-user operating system, the requirements for users are relatively high. How to quickly operate Linux has become a topic of great concern to beginners. In order to help beginners to operate Linux more conveniently, the author has compiled ten quick-running techniques for Linux, and contributed to everyone here. At the same time, I urge all netizens to constantly supplement and improve this article. 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. . 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, fast installation work
Usually when we install an operating system software, the system boot disk needs to be started to install. 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:imagesvmlinuz root=/dev/ram initrd=E:imagesinitrd.img in the dialog box; E is the CD-ROM drive letter, E:imagesvmlinuz is 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 on our computer. How do I start Linux? Do you need to restart your computer every time, booting 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 Is 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 play songs one by one, 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 the music files in the list in turn. So 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 put all the MP3 files in the specified directory Create a file called play.list. 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 implement a function In order to repeat this command several times, 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 certainly yes, we can use “ in the Bash Shell! & rdquo; to repeat the commands that have been entered a few times, so you can save the trouble of re-entering the command. 6, quick start 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 content that needs to be modified, then we need to Modified, but in the view state, we can't directly edit the file, we must start the editor separately to edit, then in this state, what method should we take to quickly start the editor? In fact, the operation is very simple, we just need to type the v key in less, it will immediately start vi or other editors you specify in the environment variables, but in the more mode we can only use the vi command. 7, quickly shut down the system
The old version of the Linux /UNIX system must run the shutdown command before you can turn off the power, but the latest version of the Linux /UNIX system has been greatly improved in this regard, and then There is no need to 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 and large English characters rolling up. After logging in as root, type the startx command and the error message "x server cannot connect" 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 to the 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, quickly extract the 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 method is too inefficient. Some users have thought 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 an error message, so how can I unzip multiple files at the same time? ? 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 "*".
#ls -l | Wc -l Note: The total usage also takes 1 row, so the statistics are 14 instead of 13 Other
Today, I have brought the steps of adding static routes for Linux, I hope to help my friends! 1. Add
Installing VMware in Linux System Due to the project needs, you need to virtuali
Basic Concepts Virtualization allows multiple virtual machines with different operating systems to
How to test hard disk read and write speed in Linux
The use of regular expressions and grep commands under Linux
Linux Network Programming - socket option
Linux Network Programming--Advanced Socket Function
Commonly used shortcut keys in the Linux command line
Simple learning of make and makefile
Ld: cannot find /ubuntu/omnibook/sections.lds: No
Package installation method under Linux
Method of operating a Bluetooth phone in the Linux operating system, the so-called
Win10 how to solve the splash screen when playing League of Legends?
Win7 era to see Win7 computer popularization help life work
Teach you to retrieve the CAD drawing file
Teach you how to easily set the win8 account password
Win10 and win8.1 which is good Win10 and win8.1 contrast
Where is the win7 local security policy
Windows10 prompts "Memory can not be read" What should I do?