Environment variables
1. System-Level
/etc/profile: This file is the first file that is used by the operating system to customize the user environment when the user logs on, and applies to every user who logs on to the system.
Sorting out the commands that are often used in your work, and what cd,ls those are not listed:
See how many times the string appears in the file:grep "string" file-c
Get the IP address of the eth0, and replace it with other names
The function of the WC (Word Count) command in a Linux system is to count the number of rows, words, and bytes in the specified file, and display the results of the statistics as output.1. Command format:WC [Options] File ...2. Command
Before learning Linux, teaching learning is the basis of computerBetween CPU and storageOperating system (kernel: Kernel is responsible for managing hardware resources, and virtual hardware resources into other, provided to the top of the
Linux Symbolic Summary simple and easy to use and efficient; Delimiter for multiple commands/root or Road strength separator> Standard output redirection (data flow in the direction of the arrow), overwriting the original file>> Chase Emphasis (data
System use centos6.8User name: Shen password is the mailbox password1. Start Redis into redis-3.2.6 directory CD redis-3.2.6 enter Src/redis-serverStart2, turn off RedisEnter the redis-3.2.6 directory to perform src/redis-cli execution shutdownTime:
**du (disk usage), as the name implies, view the size of the directory/file footprint * *1. View the size of all directories and subdirectories in the current directoryDu-hDu-ah#-h: Using the human form of K, M and G to display#-a: Displaying
Temporarily modify IPEnter the command in Linux: ifconfig eth0 192.168.1.1 netmask 255.255.255.0 EnterHere the 192.168.1.1 is the temporary ip,netmask is the subnet mask, this temporary IP will be changed after you restart the network card to the
Recursive document capturing technique for wget instruction learning and wget Recursion
When reading documents online, do you want to crawl the documents to a local machine for reading when there is no network?
Run the following command first:
$
Install jdk online in centos 6.5
Download and install jdk1.8
Before installation, check whether the system has built-in open-jdk.The image shows that I do not have a built-in command. If yes, you can use rpm-qa | grepJava | xargs rpm-e-nodeps to
Linux environment variable settings
When we log on to Linux shell, shell will execute a series of initialization actions, including reading the configuration file and setting environment information according to the configuration file. In fact, when
How to quickly become a Linux O & M EngineerHow to quickly become a Linux O & M EngineerToday, most of the websites, services, and games on the Internet are running on Linux. Although there are many Linux releases, as long as you are familiar with
Become a Linux expert and these four hot skills are essentialGuideThe problem with becoming a Linux expert is that the definition of "expert" is constantly changing. When I entered the Linux World, I thought that as a Linux expert, you need to be
Please update CentOS 7 users: Important Linux Kernel patch releasedBased on the free release source of Red Hat Enterprise Linux 7, the CentOS 7 branch inherits the latest kernel security update features. Today, the system team released a very
Linux 4.10 will bring about three major changesGuideThe evolution of Linux never stops. Linus Torvalds has been working hard to incorporate more changes into the new kernel version (4.11. However, in the current Linux 4.10, we also found that the
The dual system directly enters grub and cannot access ubantu solution. grububantu
Background: Install Windows 10 and ubantu dual systems
Problem:> 1. After ubantu is installed, you cannot access the system, but directly access the grub command. 2.
Deploy ELK in CentOS7This article skips the installation process of CentOS.
Recently, ELK has been roughly studied because the business needs to monitor nginx and apache logs. The three letters representElasticsearch,Logstash,Kibana. They form a
Install Nginx 1.7.4 and related commands in CentOS7.0I. Installation preparationFirst, some modules of nginx depend on some lib libraries. Therefore, you must install these lib libraries before installing nginx, these dependent libraries mainly
Centos7 installation and configuration vsftp
In fact, it is not difficult to build an ftp server, but there is a lot of incomplete information on the network. It is a pitfall for new users. I have skipped the pitfall and wasted a lot of my life,
Compile and install MySQL 5.6.14 in CentOS 6.4
MySQL 6.4 installed through yum in CentOS 5.1 is old, so I want to install the later version 5.6.14 through the source code.Body: 1: uninstall the old version
Run the following command to check whether
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