The default grep searches all files, including files under Hidden folders. The --exclude-dir= parameter of grep is to exclude a directory, which does not contain the directory after the equals sign, so we can use this parameter to remove the
Sometimes when writing makefile, I don't know what some variables are or how to look at them, so I feel it's necessary to write a blog post about environment variables.If you want to view an environment variable of a name, the command is: ECHO $
Let's start by changing the location of the environment variables, where can we modify the environment variables?1./etc/profile: Effective for all users; This file sets the environment information for each user of the system, which is executed when
The Linux kernel was written by Torvalds (Linus Torvalds) in 1991. There are many interesting stories and the entire development process in the Linux development process. Let me take a look at its evolution:Linux is a set of operating systems,
Linux study 1 ---------- create a local yum source in Linux, ---------- linuxyum
I just started learning and used it as a note to record what I learned
I. mount a file
Put the iso file in the virtual machine. You can choose to share the file or
Linux --- Configure script (configuration script), --- configurescript
Configure script)
From Wikipedia, the free encyclopedia
Originated from Wikipedia
A Configure script is an executable script designed to aid in developing a program to be run on
Linux-Configurescript)
Configure script)
From Wikipedia, the free encyclopedia
Originated from Wikipedia
A Configure script is an executable script designed to aid in developing a program to be run on a wide number of different computers. it matches
Install wget in centos
Yum-y install wget# Yum-y install setup this article
# Yum install perl
Searching for GCC...The path "" is not valid path to the gcc binary. wocould you like to change it? [Yes] If this occurs, it indicates that gcc has not
Linux User and user group management commands
Linux User and user group management commands
1. users and groups
Groupadd: Used to add a new group.The command format is as follows:Groupadd [-option] group nameCommon parameters:-G GID: Specify the GID
Change the root user password in centos7 single-user mode
Step 1. Press the keyboard whenever you start the system and enter the following menu
Select the first item and press "e" to modify it:
Step 3: locate "ro"
Step 4: Change "ro" to "
CentOS command for locating and searching filesCommand for locating and searching files
Command FUNCTION command function which find the location of the file from path find all files that meet the requirements whereis find the path of a specific
CentOS command-ps: displays the snapshot of the current processCommand Format
Ps [options]
Instance
A) view all processes
huey@huey-K42JE:~$ ps aux | headUSER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMANDroot 1 0.0 0.0
Allows common users to temporarily obtain root permissions in CentOS
Create two common users, kongzhong and xcg, and set the password
[root@rhel1 ~]
# useradd xcg
[root@rhel1 ~]
# passwd xcg
Changing password foruser xcg.
New password:
Retype new
Centos 6.5 Startup Process
Power-on BIOS self-check and load BIOS Information
Check 0th channels, 1st sectors, read MBR (512 bytes)
Start BootLoader (GRUB)
Press e to enter edit mode. Press B to start booting.
Root: Specify the boot
Install redis on CentOS7
Redis installation: $ wget http://download.redis.io/releases/redis-3.0.1.tar.gz$ tar xzf redis-3.0.1.tar.gz $ cd redis-3.0.1 $ make backend enable Server
$ Src/redis-server & Set firewall (skip if firewall is not enabled)
Rz/sz command and description for SecureCRT installation in CentOS
1. Installation
# Wget http://freeware.sgi.com/source/rzsz/rzsz-3.48.tar.gz
# Tar zxvf rzsz-3.48.tar.gz
# Cd src# Make posix (Note: This software installation is different from the
CentOS7.0 disable the default firewall and enable the iptables Firewall
Operating System Environment: CentOS Linux release 7.0.1406 (Core) 64-bit
CentOS 7.0 uses firewall as the firewall by default. Here we change it to iptables firewall.
1Disable
CentOS repeatedly executes the command watch to display the output in full screen
The watch command periodically executes the command and displays the output in full screen. You can use the watch command to repeatedly execute a program to monitor
Hadoop starts jobhistoryserver
Hadoop starts jobhistoryserver to view the historical running status of jobs on the web. Because the jobhistoryserver process is not started after hdfs and Yarn processes are started, you need to start it
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