Linux Command review-File Management

Source: Internet
Author: User

Linux Command review-File Management

 

// Vange 2010-03-26 on ubuntu8.04

There are too many Linux commands, and only part of them can be reviewed. First, the file management command is used, and other commands will be released later.

The relevant parameters of the command are not detailed here (and cannot be written). If necessary, you can -- help, man. Or GG.

(You may need to flip the wall in the future)

Cat: displays the file content. I personally think that there is no more, less is easy to use, mainly for small file content display
Chattr: modifies file attributes and has never been used.
Chmod: Modify file permissions
Chown: modifies the object owner.
Cksum: calculates the number of bytes of a file. What is the difference between cksum and ls?
CMP: compare the two files and only display the differences in the rows
DIFF: compares the differences between the two files and displays the diff version control.
Diffstat: used to display the change statistics after the diff command
File: the type of the probe file.
Find: common command to find.-Name filename
Git: version control provided by Linux
Gitview: Not Installed
Indent: used to format C language source files, not used
Cut: I don't know how to use it. It is probably to display each line of the file content in blocks: for example, cut-d': '-F/etc/passwd

LN: Creates a file link file, including hard links and soft links.
Less: displays the file content, and supports rollback to the beginning, part of VI operations

Locate: Good file search command
Generally, the system will create a database index for the file. This command can be used to quickly locate the file location.

Isattr: No In ubuntu. It is mainly used to display the file attributes of ext2 and has not been used.
Mattrib: compatible with Ms commands and not used
MC: displays the directory tree in the two columns, which is similar to command. I don't know how to exit.
Mdel: compatible with Ms commands
Mdir: compatible with Ms commands
Mktemp: create a temporary file or folder
More: view the file content. rollback is not supported to view the initial content.
Mmove: compatible with Ms commands
Mread: No In ubuntu. It is mainly used to display the file attributes of ext2. It has not been used.
Mren: compatible with Ms commands
Mtools: a command operation set compatible with Ms
MV: Mobile File Operations
OD: displays the file content in octal format.
Paste: merge two files and display them with the specified separator (default: tab) for example: paste f1.txt f2.txt
Patch: Create or apply a file patch for version control.
RCP: Remote File Replication, which requires secure network replication. It has never been used, and SCP is also used for remote file replication.
RM: delete a file or folder
Slocate: similar to locate, you also need to create an index before using it. There is another command rlocate to locate the file in real time without using it.
Split: saves files in multiple parts. The unit of action is split-L 1 test. file, which generates lots of garbage.
Tee: accept input to standard output or file, which is similar to echo "XXXX"> File
Tmpwatch: This command is not used in Ubuntu.
Touch: creates an empty file or modifies the time attribute of the file.
Umask: called during the creation of mkdir and open. It is not clear that it has not been used. It is mainly used to set permissions.
Which: it is also a good command. If you want to know which program is called after entering CP, then which CP

CP: file copy operation
Mcopy: compatible with Ms file copy operations
Mshowfat: view the clusters occupied by files in the FAT file system
Whereis: it is also a command to locate the program and displays the Help File Location of the command.

Contact Us

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

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.