Format: echo-e "\033[word background color; font Color m string \033[0m"For example:Echo-e "\033[41;36m something here \033[0m"Where 41 of the position represents the background, 36 of the position is the color of the wordThose ASCII code is the
The most contact in our life is the Windows system, compared to the Linux system, the Windows system configuration IP address is much more convenient.We all know that in a Windows system, just open "Network and Internet Settings" and select "Change
1. Ls-lsh2. Du-sh
Du = = Disk usage (disk usage, disk space occupied)The amount of disk space a file occupies and the size of a file is a different situation. The footprint depends on the size of the file system block (block), Linux is
Method one: Using the tar command to encrypt and decompress filesCompression:[HTML] View plain copyTar-zcf-filename |openssl des3-salt-k Password | DD Of=filename.des3This command compresses the filename file to generate FILENAME.DES3 encrypted
12.1 Lnmp Architecture Introduction12.2 MySQL InstallationGo to download catalogue CD/USR/LOCAL/SRCView the files that have been downloaded LSTo see if a process is running PS aux | grep MySQLRemove the installation directory
When it comes to package management tools, let's look at the application interface (API) and Application Binary interface (ABI).
Api:
Programming Interface Application Program Interface
In other words, things like the
User and Group ManagementLinux is a multi-user multi-tasking network operating system, as a network administrator, it is essential to master the creation and management of user groups.Learning Essentials:
Understand the profiles of users
Download nginx.tar.gz source package from official website
Copy to Linux system for decompression TAR-ZXVF nginx.tar.gz
Enter the extracted directory, need./configure, this step will report multiple errors, such as the installation of GCC
Review the contents of the previous section:1. Scheduled execution of Task commands Crontab–e, crontab–l,crontab–r2. Job: Define a timed task to output Hello World to the/tmp/test.txt file every minuteCrontab–e*/1 * * * * echo ' Hello World ' >>/tmp/
Original address: http://blog.csdn.net/liangxiaozhang/article/details/7356829Readlink is a common tool used in Linux systems, primarily to find out where symbolic links are pointing. Execute the following command in the Ubuntu system:[Plain]View
The command history mechanism of the shell environment in Linux provides users with great convenience, and also poses a potential risk to users. As long as the user's command history file, the user's command operation process will be sweeping, if
10 days did not update this daily learning Linux, because is really busy, evening also to see other knowledge.But you shouldn't give yourself a reason, or you should stick to it every day.--Tar for unzip/file in LinuxThere are many parameters under
Basic features of Bash(1) Command historyHistoryCall the last parameter of the previous command! $Esc.atl+.Control how the command history is recordedEnvironment variable: HistcontrolIgnoreedups: Ignore duplicate commands, continuous and same as
1, REDHAT7 After restart, there is a change in the name of the network card, or to fixed the use of ETH name network card.(1) Append parameters to the/etc/sysconfig/grub.conf configuration file net.ifnames=0(2) Execute command
Nexus IntroductionNexus is the MAVEN warehouse manager, and if you use Maven, you can download the required artifacts from the MAVEN central repository (artifact), but this is usually not a good practice, you should set up a MAVEN warehouse server
First, the introduction of the cluster
Divided into two categories according to the function: high availability and load balancing;
A highly available cluster is typically two servers, one work, and the other as redundancy, and
Relative path-the relative path from your current locationAbsolute path-The path starting from the rootPWD Current PathCD change path CD-that's your last location.Whether you're in the top directory, just enter the command CD and you'll be back when
Original: 51372982 (it is very detailed here, I only do a few additions)
1. Always prompt when configuration is complete (the selected user key is not registered on the remote host, please try again.) When you hit a lot, you automatically
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