Linux operating system management skills-general Linux technology-Linux technology and application information. The following is a detailed description. As a desktop operating system, Linux's man-machine interface is not flattering. However, as a network operating system, its ease of use (for NOS) and high performance are difficult to find its right. Of course, this is not to say that its operation is very simple, but that if you can master some skills, whether it is system settings or network management, you can become easy and free.
Disable Automatic Power saving of display in Terminal Mode
After Linux is installed on most PCs, the monitor can be automatically disabled in terminal mode. However, if we want to display some information on the monitor, such as network traffic and packet analysis, this feature becomes very annoying. Changing CMOS and system attributes cannot be solved. The solution is to use setterm to set terminal commands, such as setterm -- blank, to disable the feature of automatic energy saving.
Save man help document as a common txt file
Man's position is crucial in Linux, and it is much better than the Help in Windows. However, the information it displays is not plain text. If you direct the text to a text file, you will find that the highlighted text in man is changed to two, there are countless tabs, which makes printing and editing inconvenient. However, you can use the following statement to obtain the common help text of the tcsh command: man tcshcol-B> tcsh.txt, and there will no longer be any annoying repeated characters.
IDE Hard Drive Optimization
Linux may pay more attention to data security rather than performance, which is completely necessary for NOS, but it should be fine to enable some useful optimizations on the IDE hard disk. Take a look at this command: hdparm, which is used to display and set the parameters of the hard disk (including the optical drive. We can first use hdparm-I/dev/hda to view the parameter settings of the hda disk, and then modify it as needed, for example: hdparm-c 1 can change the I/O read/write support of the hard disk from 16 bits to 32 bits. hdparm-m 16 is the MultiCount of the hard disk. Before executing this command, you 'd better use the-I parameter to determine the maximum number of MultiCount supported by your hard disk. These two items are the main optimization items, and others cannot be determined or confused. Hdparm-t/dev/had can be used to test hard disk performance before and after optimization.
Allow root users to log on remotely
In Linux, the default security setting is that root cannot log on from a remote workstation, which makes remote management of Linux servers a lot of trouble, /etc/securtty is the key file for controlling this mechanism. In the root section of this configuration file, add pts/0 and pts/1 to the terminal name that you want the root user to log on.
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.