Simple operation of ten "quick" in Linux"

Source: Internet
Author: User
Article Title: 10 quick operations in Linux ". 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. fast loading of system files

Before using the linux File System, you must run the mount command to first load the specified file system. After using the command, you must run the unmount command to uninstall the specified file system. Now, we can use the autofs command in RedHat linux6.0 to save the trouble of mount and umount each time. In addition, RedHat6.0 also comes with The autofs rpm command, after installing the file system, you can enjoy the convenience of automatically loading the file system. First, create a cd directory under the/misc directory. If you use its built-in auto. misc and auto. master, you can implement the automatic loading function immediately.

2. quick installation

Generally, when installing an operating system software, you need to start the boot disk of the system to install it. However, when installing the Linux operating system, we can use a DOS software named loadlin.exe in the system optical disk to directly transfer the Linux core to the memory, replace the current operating system with the Linux core to take over the computer, and enter the Linux installation interface. When installing Linux, you only need to enter loadlin E: \ images \ vmlinuz root =/dev/ram initrd = E: \ images \ initrd in the run dialog box. the img command can directly install Linux. E is the drive letter, and E: \ images \ vmlinuz is the core name of Linux.

3. quickly start the system

With the increasing configuration of personal computers, installing Linux on your computer is no longer a new problem. Suppose we have two windows and Linux operating systems installed on our computer, how should we start Linux? Do you need to restart the computer every time and boot through LiLo? In fact, if we use dos, there is a simple and fast way to start Linux, that is, load Linux. Loadlin.exe is an executable program in dos. It can quickly start Linux in a pure dos environment without restarting the computer, we can find this program in the/kernels directory of the CD. If you do not know where the program is stored on the installation disk, you can use the "find-name loadlin *" command to find it. Copy it to the dos partition and copy the Linux Kernel File you are using. You can copy files directly from the CD in windows, or use the mcopy command in Linux to copy the files to the dos partition, and then write a Linux. bat's batch file. The file content is as follows: c: \ loadlin c: \ vmlinuz root =/dev/hda1 ro. in this example, we set both the loadlin.exe and vmlinuz kernel files to the c root directory, root is the Linux root device, and Linux is in the first partition of the hard disk. Therefore, the device name is/dev/hda1, and ro indicates readonly. In the future, you can run Linux. bat to start Linux in dos. In this way, Linux is started quickly and efficiently, greatly reducing the waiting time during system self-check.

4. quickly create a file list

In the Linux operating system, we can also play MP3 files, but in the Linux Command Line status, we can play only one song at a time, if we want to play all MP3 files under a directory consecutively, we must first create an mp3 playlist for all audio files with the extension of MP3, and then use the Playback command, to play the music files in the list in sequence. How do we create a playlist for mp3 files? In fact, it is very easy to enter the following command in the system command line: find/mnt/cdrom-name *. mp3-print> cd1.play. list, so that all MP3 files in the specified directory will be created with the name play. list file. Then you can use the xmms or x11amp command to play these mp 3 music.

 

[1] [2] Next page

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.