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=$
The first step:Plug the USB stick into your computer and it will react in Linux, like SDA, SDB ..., then go to the/dev directory to see if this file is availableStep Two:Create a new directory:/mnt/mineStep Three:Mount the U disk under/mnt/mine:
1. Test function of the tests command.Flags for testing:(1) test for file type test [-EFDBCSPL] filename-E: Whether the file name exists;-F: Whether the file name is a file;-D: Whether the file name is a directory;-B: Whether the file name exists
Previously wrote a shell automatic decompression program, http://gzinfo.blog.51cto.com/2492370/1416508, in the actual operation found that not all the compressed file appended to the end of the file is just a line, So the previous script is only
Common partitioning loading methods in Linux systems:Mount Mount ISO file:#mkdir/MNT/ISO1#mount –o Loop Linuxsetup.iso/mnt/iso1Linux does not require a virtual optical drive, you can directly read the ISO file.Mount Mount Optical Drive
Linux's LVM is flexible and powerful, but the more powerful it is, the harder it is to understand. The approximate relationship between LVM and hard disk should be as follows, if you are wrong, please testify. The snapshots in LVM are powerful
How do I install the. deb file under the Linux system?Deb is the Ubuntu, Debian format.RPM is the format of Redhat, Fedora, and SuSE.They are not universal (though they can be converted).Deb is a Debian-released packageUbuntu is based on all the
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
command to enter VIVI FileName: Opens or creates a new file and places the cursor at the beginning of the firstVI +n FileName: Opens the file and places the cursor at the beginning of nthVI + FileName: Opens the file and places the cursor at the
The first (effective immediately, after reboot configuration is lost) ifconfig eth0 192.168.0.10 netmask 255.255.255.0ifconfig eth0 up second (after reboot, restart the computer, IP will not be lost) vi/etc/ Sysconfig/network-scripts/ifcfg-eth0
Prerequisites: Hadoop is written in Java, so install Java first. Installing the JDK on Ubuntu see: http://blog.csdn.net/microfhu/article/details/7667393The Hadoop version I downloaded is 2.4.1, which requires at least JDK 6 to be installed. Linux is
Common uses of Linux mount:Windows shared directory mounted under Linux systemMount-t CIFS//192.168.11.11/backup/share/mnt/win-o username=admin,password=admin123,iocharset=gb2312Detailed parameters:-T: Device type, CIFS represents the type of shared
Sometimes it is necessary to partition the hard disk to facilitate the management of the hard disk or to allow multiple file systems or operating systems to be used on a hard disk. The partition of the hard disk is divided into 3 kinds: Primary
Nali contains a set of command-line programs whose main function is to attach the IP strings of some of the network Tools ' output to the location information (using the pure database). The following commands are currently
Linux terminal prompts Information Format modification/etc/bashrc, etcbashrc
Gedit/etc/bashrc
The default special symbols in the shell environment mean:\ D: represents the date, in the format of weekday month date, for example: "Sun Sep 18"\ H:
Installation of Linuxsvn
Orzdba is developed by taobao and is a good tool. To download the orzdba tool, you must use svn to download it. First, install the svn tool. However, installing svn is also troublesome and requires support from various
Quickly build a LAMP environment in ubuntu and centos in linux
Install the lamp environment in linux. The following describes how to quickly install the LAMP environment under ubuntu and centos.
First, let's take a look at the LAMP environment (from
Two Methods for configuring Nginx 301 redirection
301 redirection was performed to merge www.91rhca.com and 91rhca.com, and the previous domain names were also merged.
There are two implementation methods. The first method is to determine the nginx
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