ObjectiveThe second part mainly involves the closing of redundant service, the security policy of user account, the optimization of kernel network parameters and so on."Modify the system default account password Policy"This is done by editing the
The default man pages has only one color, and some text is bold. Just execute the following command.
Cat >/ETC/BASHRCMan () {ENV \less_termcap_mb=$ (printf "\e[1;31m") \less_termcap_md=$ (printf "\e[1;31m") \less_termcap_me=$
"Disclaimer: Copyright, welcome reprint, please do not use for commercial purposes. Contact mailbox: feixiaoxing @163.com "In the beginning of the graduate students, they see kernel time is not short. Although the code read a lot, the principle of
CTRL + A
Switch to command line start (Home)
Ctrl+e
Switch to the end of the command line (end)
Ctrl+l
Clear Screen Contents àclear
Ctrl+u
Clear the content before the cut cursor
Startup profile/etc/inittab, after modifying the configuration file, init Q takes effect immediately # Default runlevel. The runlevels used by RHS are:# 0 - Halt (do N OT set Initdefault to this) # 1 - single user mode# 2 -multiuser, without
Beginner Linux, you need to understand the Linux standard directory structure first/
Root---Some of the core files used when starting Linux. such as operating system kernel , boot program grub and so on.
Home---Store personal files for
A first delete the system, SendMail#yum Remove Sendmail-yB cd /opt/ ll wget http://sourceforge.net/projects /heirloom/files/latest/download?source=files ll du -sh Mailx-12.4.tar.bz2 tar jxvf mailx-12.4.tar.bz2 cd mailx-12.4 make
Custom InstallationCustom installation, also known as source installation, you need to compile the source code installation methodSteps: 1. Extract the source code package 2, configuration configure 3. Compile make 4. Installing make InstallNext
1. Current Memory usage2. Current CPU Usage[email protected] ~]$ Top3. Current Drive Usage Status[Email protected] ~]$ DF-LH4. Query disk usage space for a file or folderIf you have a lot of files and folders under the current directory, you can
Linux uses the terminal, sometimes need to find a word, you need to open a browser to find words through the web page, so efficiency will be very cumbersome, and will also reduce productivity.When I first started looking at a Python document, I read
In the server we often need to automatically let the program automatically for data backup, program backup, execution of a process and so on, the Linux server is generally used crontab implementation, and Windows uses a scheduled task implementation,
Http://www.tektea.com/archives/1969.html.In Enterprise and telecom Linux Server environment, network configuration will use bonding technology to do network port hardware level redundancy, prevent single point of failure of individual network port
1. FindFind is the most common and powerful look-up command you can use to find any file you're looking for.Find uses the following format:$ find ---If no parameters are added, find searches the current directory and its subdirectories by default,
When I changed something yesterday, I accidentally deleted some of the configuration files under root. Led to start the terminal after the word completely a color, no distinction. I found it all on the Internet.Change the overall color. But in fact,
WHOAMI-----finding out.Who---------Listing.W----------Listing and what they is doing.Last--------Listing If a user last logged onThe last tools gets the IT data from the system file "/var/log/wtmp"Some others commandPS------to list processes on the
View the size of the current directoryDu-sh.View the size of all files or directories in the current directoryDu-sh *Display the top 10 most space-occupying directoriesDu-s * | Sort-nr | HeadDisplays the top 10 most space-occupying files, using
Usage of mount and umount in linux, linuxmountumount
Common partition loading methods in linux:
Mount the mounted iso file:# Mkdir/mnt/iso1# Mount-o loop linuxsetup. iso/mnt/iso1
In linux, you can directly read the iso file without a virtual Optical
Ubuntu14.04 install eclipse and ubuntu14.04eclipse
Download the compressed package from the eclipse Official Website
: Http://www.eclipse.org/downloads/
Decompress to/usr/local
Sudo tarxzvf
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