Linux Command sharing: lsof command, linux Command sharing lsof
Lsof (listopenfiles) is a tool used to list open files in the current system. In linux, everything exists in the form of a file. Through a file, you can not only access common data, but also access network connections and hardware. Therefore, for example, the transmission control protocol (TCP) and
Linux Command: rcp command usage details, linux Command rcp details
Rcp stands for "remote file copy" (remote file copy ). This command is used to copy files between computers. The rcp command has two formats. The first format is used to copy files to files. The second forma
Linux Command (8): cp command, linux Command cp
The cp command is used to copy files or directories. It is one of the most common commands in Linux. In general, shell sets an alias. When copying a file under the command line, if the target file already exists, it will ask wh
Shell Special character Cut command
Any of any characters? Any one character#注释字符\ de-Semantic characters·| pipe characterCut intercept string-D Specify delimiter-f Specifies the Intercept paragraphBy looking at what we can see,/etc/passwd is divided into 7 segments.·If you use ":" to intercept the first paragraph of the delimiter·Intercept the first to second paragraph (comma in English)·Intercept one to three segments (with a horizontal bar)·-c
Linux basic command date command, linuxdate command
1. Time Command: date
The parameter passed to the date command applies to '+' (plus sign). In the parameter passed
% Y indicates year
% M indicates month
% D Indicates day
% H indicates the hour (the time is 00-23)
%
Ls- L : Long Format File type: the - : Normal file (f)D: Catalog FilesB: block device files (blocks)C: character device files (character)L: Symbolic Link file (symbolic Linkfile)P: command Pipe file (pipe)S: socket file (socket) File permissions: 9-bit, every 3-bit group, each group: rwx (Read, write, execute), r-- Number of hard links to files owner of the file Genus Group of files File size (size), in bytes timestamp (timestamp): Last Modified time
Linux Command head command, linux Command head
The head and tail are just as easy to understand as their names. They are used to display a certain number of text blocks at the beginning or end, and the head is used to display the beginning of the file to the standard output, and tail takes it for granted that it is the end of the file.
1.
The KILL command is used to terminate the run of the specified process.Sends the specified signal to the corresponding process. Not specifying a model will send Sigterm (15) to terminate the specified process. If the program can not be terminated with the "-kill" parameter, it sends a signal of Sigkill (9), which will force the end of the process, using the PS command or the jobs
PHP command line command instructions, php command line instructions. PHP command line Command Guide. php command line guide when a user opens the php page, the server executes the PHP command
chattr commandCommand function: Change file properties.Command syntax: chattr [parameter] [+/-/=This directive alters the properties of files or directories stored on ext2, ext3, Ext4, XFS, Ubifs, ReiserFS, JFS file systems, which have the following 8 modes:
A: Make the file or directory available for additional use only.
B: Do not update the last access time of the file or directory.
C: Compress the file or directory and store it.
D: Exclude files or directories from dumpin
In general, Bash is case-sensitive to commands, and can display the previous history command when you press the "Up" button. However, this is not very convenient, the following configuration, you can let bash ignore the case, and can be based on the input command header press "Up" key to display the history of the command, such as: input vim, and then press "Up"
The DF command is used to view the disk usage of the Linux file system, and to see how much space is currently occupied by the disk and how much space is left.Several of the commonly used commands areCommand 1 DF The default display size is in kilobytes, you can use the parameter-K 1024-byte units,-M 1024*1024 bytes,-I display innode information,-H displays the data in the appropriate units,-H is the same as the-H effect, but-H is in 1000 as a unit,-
Linux Command details-less command, linux Command details less
In Linux, there is also a command similar to the more command-less command, which is more flexible and powerful than the more com
Linux cp/scp command + scp command details, cpscp + scp command details
Name: cp
Permission: All Users
Usage:
Cp [options] source dest
Cp [options] source... directory
Note: copy one file to another or copy several files to another directory.
Count
-A tries its best to copy the file status, permissions, and other information as they are.
-R if the source contains
Tags: and special symbols file standard output Options area type syntax a lot8.10 Shell Special Character _cut command* Any of any characters? Any one character#注释符号\ de-Justification symbol| pipe character"$" the symbol with "!" "!$" means the last variable in the previous command";" Delimiter, use "~" User's home directory when running two and more than two commands in one row (root user "/root", "/home/u
1. Color command Save the current color settings---can be quickly restored later2. Copy commandExample: BGA fan outActivation command--tick--Remove tick--select--right-rotate--each rotation 90 degrees Matrix mode replicationReproduction of the form of a projectile3. Delete commandOnly check the corresponding property (find) When executing this command to prevent
Linux Command (1): cd command, linux Command cd
1. Role: Change the working directory;
2. Format: Cd [path]
The path is the working directory to be changed. It can be a relative path or an absolute path.
3. Use instances: [Root @ www uclinux] # cd/home/yourname/
4. Instructions for use:
This command changes the c
Linux Command: scp command, linux Command scp
Scp is short for secure copy. It is used to remotely copy files in Linux. Similar Commands include cp, but cp only Copies files on the local machine and cannot be copied across servers, scp transmission is encrypted. It may slightly affect the speed. When your server's hard disk changes to read-only system, scp can he
conversion work at this point. --version Displays version information. Mans :NAME : Command name and function brief descriptionSynopsis : Usage notes, including available optionsDESCRIPTION : A detailed description of the command function, which may include the meaning of each optionOPTIONS : Explains the meaning of each optionFILES : The configuration file associated with this commandBUGS :EXAMPLES : Usi
Linux Find File Lookup command with grep file Content Lookup commandWhen using Linux, file lookups are often required. The commands you find are primarily find and grep. Two commands are of a district. The Difference : (1) The Find command is based on the attributes of the file , such as file name, file size, owner, owning group, whether it is empty, access time, modification time, etc.(2) grep is a search
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.