There are a lot of commands under Linux. Some commands are often used, and some commands are almost useless. For example, the command to modify the text color of the man pages. Let's take a closer look with the small series.
Linux has a lot of complicated commands, but there are some simple but not very useful commands, but these little commands are not well known to most people. Here, just let these tips add to the game. For the fun of working in the dimension, the default man pages have only one color, and some of the text is bold.
Just execute the following command.
The code is as follows:
cat "\\EOF" /etc/bashrc
man() {
env \\
LESS_TERMCAP_mb=$(printf “\\e[1;31m”) \\
LESS_TERMCAP_md=$(printf “\\e[1;31m”) \\
LESS_TERMCAP_me=$(printf &ldquo ;\\e[0m”) \\
LESS_TERMCAP_se=$(printf “\\e[0m”) \\
LESS_TERMCAP_so=$(printf “\\e[1;44;33m” ) <
LESS_TERMCAP_ue=$(printf “\\e[0m”) \\
LESS_TERMCAP_us=$(printf “\\e[1;32m”) \\
Man “$@”
}
EOF
. /Etc /bashrc
Here is the end of the execution of the above code results
The above is a change of text color man pages under Linux commands introduced, although the practicality of this command is not high But occasionally changing colors to change mood is also a good choice.
hexdump is a command used to view the hexadecimal encoding of files in Linux system
If you want to search for text files in Linux system, you can use grep command. With grep command, y
In the Linux system, some Chinese files become garbled files. For users with obsess
Windows Phone is a mobile product under Microsoft. Windows Phone is not recognized
Linux common commands (including vi/gdb) operation skills
Linux how to install and use NeoBundle
Introduction to grep regular expressions in Linux system
Linux system uses commands to print files
Ubuntu install Nox, compile make error, what should I do?
Linux installation using the compression tool 7-zip steps
What should I do if the Linux system time zone is wrong?
Linux curl command operation example summary
Summary of netstat command operation examples in Linux
What should I do if the CentOS 6.5 network in VMware is not connected?
Linux uses the hadoop dfs command method
Steps for Multi-Mirror Image Traffic Aggregation and Replication in Linux
Skip files with the same name, incremental copy saves time
Windows7 default off time causes black screen how to do
Win7 system Arduino driver how to install
Four factors affecting SEO effect: server stability tops
Win8 dual system installation diagram tutorial (2)
Touch-screen version Win8.1 RTM is still hidden slide off
What is the role of the F8 key when WinXP is modified?
Windows 8 out of the box security
How to fix the black screen when the Windows10 system notebook is unplugged?
How to modify the command prompt font size under win7 system