It is often necessary to test performance in Linux endpoints, such as Flash read and write performance. This requires the timing of an operation.The results were obtained by using the date command and then manually subtracting.Simple measurement is
1.mkdir (make directory) to create a folder.Ex:mkdir input 2.rm (remove)EX:RM input 3.ls-a Show all files in current directoryLs-al Show details of all files in the current directory 4.rmdir Deleting a folder 5.CP copy files to the specified
. tarUnpacking: Tar xvf Filename.tarPackage: Tar cvf filename.tar DirName(Note: Tar is packaged, not compressed!) )———————————————. gzDecompression 1:gunzip filename.gzDecompression 2:gzip-d filename.gzCompression: gzip FileName. tar.gz and.
How is the Linux operating system installed? And how do I install it automatically (unattended)? And how to batch automatic installation? Here we will introduce each of them.The following operations take the CENTOS6 series as an example,
tar [-cxtzjvfppn] files and directories ....Parameters:-C: Create a compressed file parameter directive (the meaning of Create);-x: Unlock the parameter instructions for a compressed file!-T: View the files inside the Tarfile!In particular, in the
1. Signal Processing functionThe related function prototypes are as follows:#include sighandler_t signal (Int signum, sighandler_t handler); The first parameter is the signal of the second parameter is the signal processor: 1. Can be
The special syntax of Bash is introduced first${parameter#*word}Where parameter is a variable, word is a delimiter, which means that the string from the leftmost left character of the variable to the first match to the delimiter (word) is
Linux system Variable view commandPRINTENV (print environment abbreviation)Type commandSee if the command is built-in or external (external command can see the path)Whatis commandSimple Explanation of command functionPWD commandPrint the current
To view the occupancy of a port:lsof-i:Example: lsof-i:8080Netstat-apn|grep Example: NETSTAT-APN | grep 8080After you find the process number, use the following command to view the details:Ps-aux|grep Once you know the process number,Kill can kill
1. AccountWindows Administrator AdministratorLinux Administrator root2. Graphics mode and character mode switchCTRL+ALT+FN (n=1~6) switch from graphic to characterALT+FN switching from character to other modeAlt+f7 back to graphical mode3.
1. Remove the set of two files (duplicate lines are reserved only one copy)2. Remove the intersection of two files (leaving only files that exist in two files)3. Delete the intersection and leave the other rows1. Cat File1 file2 | Sort | Uniq2. Cat
Find. -name "*.C" | Xargs grep-h "Hello"In the current directory, look for files that contain hello and that have the suffix named. cPS Ax | grep "Sleep"Whether the process that is currently running contains sleep!!Last Command executedCD-Jump back
Cut-divides the line into the specified fragment according to the requirementsCommon parameters:-D to ... As the delimiter-D: Split Line (similar to split in Python)-F Gets the split column-f1-3 the 1th to 3rd column (that is, the three-in-one
First we need to download this toolHttp://www.powershelladmin.com/wiki/SSH_from_PowerShell_using_the_SSH.NET_library#Downloads650) this.width=650; "title=" Image "style=" border-top:0px;border-right:0px;background-image:none;border-bottom:0
1.apache Brief Introduction?? We often have to browse the Web to provide this service is Apache. The software that provides Apache services is the httpd service.?? Apache supports many features, most of which are implemented by compiled modules.
How to install general files ***********************eg1. Unzip the command:TAR-ZXVF xxx{corresponding Compression Package}--This command is the command used for the. tar.gz Compressed Package2. Go to the unzipped packageCD xxx{the corresponding
The following macros have been defined in Linux/include/linux/syscalls.h:Copy Code#define SYSCALL_DEFINE1 (name, ...) Syscall_definex (1, _# #name, __va_args__)#define SYSCALL_DEFINE2 (name, ...) Syscall_definex (2, _# #name, __va_args__)#define
Tasklet analysis (based on 3.16-rc4), tasklet3.16-rc4
Tasklet is implemented based on two soft interruptions: HI_SOFTIRQ and TASKLET_SOFTIRQ (they are implemented in the same source file, so that they are closely related). Its data structure and
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