Sed is a good file processing tool, itself is a pipe command, mainly in the behavior of the unit processing, you can replace the data rows, delete, add, select and other specific work, the following first understand the use of SEDThe SED command
[ function]Manages the ARP cache for the system.[ description]The ARP cache used to manage the system, commonly used commands include:ARP: Displays all the table entries.arp-d address: Deletes an ARP table entry.Arp-s Address hw_addr: Sets an ARP
The finger of Linux commands[email protected]:~$ finger program ' finger ' is not installed. You can use the following command to install: sudo apt-get install finger[email protected]:~$ sudo apt-get install Finger[sudo] password for Youhaidong:
TAR-CVF Shijiazhuang.tar Shijiazhuang Package The Shijiazhuang directory as a Shijiazhuang.tar file and display details of the packaging process (package only)Gzip Shijiazhuang.tar compress Shijiazhuang.tar files (compression only)TAR-CZF
1. RoleThe Useradd or AddUser command is used to establish the user account and create the user's starting directory, with the privilege being superuser.2. FormatUseradd [-D home] [-s Shell] [-c comment] [-M [--template]] [-F inactive] [-e expire] [-
Note: Under Linux, cutting files and renaming is the same command MV, not two separate commands.Mv/tmp/beijing/chaoyangqu/root moving the Chaoyangqu directory to the root directorymv/tmp/beijing/tongzhouqu/root/Tongzhou District move Tongzhouqu
Other commandsFind[path] ... [Expression] ...Do not specify path defaults to the current working directoryThe expression-name \*.o-name option is used to match patterns, and shell special characters need to be escaped-iname ignoring case.The-EXEC
Description: People who like to write small programs pay special attention to the execution efficiency of their own programs, then on Linux, there is a time command to measure the runtime of the command, but also to measure the use of memory, I/O,
Which CD find the location of the CD command which umask find the location of the umask commandThe shell is the command interpreter, that is, when you hit a command, who will pass the command to the kernel, the kernel runs to return a result, who
Useradd This command to add a new user-U Add user to specify UID example for User: Useradd-u 1002 user1-g Specifies the base master for the user and must be a group that exists for the current system to specify.-G to add additional groups to the
Linux build Hadoop Environment 1, install JDK (1) Download and install JDK: Make sure the computer is networked after the command line enter the following command to install the JDK sudo apt-get install SUN-JAVA6-JDK (2) Configure the computer Java
The beauty of Linux philosophyLinux is like a philosophy of best practice . If I have to evaluate it, I really do not know how to praise, I can only proudly say: "The beauty of Linux is so intoxicated." ”I can only say that I am in the path of the
I'm using the Ubuntu system, and I've written a piece of code to fork a subprocess. Then I use the Ps-el command to view the PID number of the main process and the child process. Surprised to find that the main process is no longer present, the ppid
Ps, ps download
Ps is a very important system tool that can be used to view the current processes in the system.
Man ps
Report a snapshot of the current processes.
That is to say, what components are active in the ecosystem of a system. Similar
file sharing and fork functions, unixfork
The UNIX system supports sharing and opening files between different processes. The kernel uses three data structures to open files. The relationship between them determines the possible impact of one
Detailed description of iostat commands
Iostat is used to output statistics about input and output of CPU and disk, partition, and Network File System (NFS. The iostat command is used to monitor the input/output status of system devices and generate
An example of problem solving in CentOS compiling and installing Percona Server 5.5.42
During this time, I wanted to compile and install Percona Server. I found many articles and made many preparations.
We tried both Ubuntu14.04, 12.04.1, CentOS5.11,
CentOS 6.2 uses NMAP's latest tool to scan ports
Nmap is a tool for network exploration or security evaluation. It supports ping scanning (determining which hosts are running), multi-port scanning technology (determining which services are
Linux Command details df check disk space usage of the file system
Command: dfCheck disk space usage of the file system
You can view the total capacity, usage, remaining space, and mount location of all mounted disks.
Syntax: # df [OPTION]
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