"Linux Record stickers" Common command line

Source: Internet
Author: User

1.

ls command: (displays the current directory file and folder)

Parameters:

[-A]: All files listed, including hidden files.

[-A]: All files are listed, but do not contain "." and ".".

[-d] lists only the directory itself, not all of the data.

[-f] Lists the results directly, without sorting.

[-F] Based on file, directory and other information, additional data structure output.

[-h] Indicates the file size is listed.

[-l] Indicates the long list output.

[-i] displays the node.

[-n] Displays the UID and GID, which represents the user group.

[-R] Displays the contents of the directory.

[-T] to display the time and sort by.

[--color]=never no color.]

2.

CP command: (copy file or folder)

Parameters:

[-A] preserves file attributes and copies files.

When the [-i] target exists with the same file as the source file, the prompt is overwritten.

[-d] If the source file is a property of a connection file, the connection file property is copied instead of the file itself.

[-f] Force replication.

[-p] is copied with the properties of the file.

[-R] Continuous recursive replication for copying the entire folder.

[-S] is copied as a shortcut.

3.

RM command: (move delete files or folders)

[-i] has a question prompt.

[-F] in doubt, without prompting.

[-R] Recursive delete for directory operations.

This command is used to remove the case

RM [command parameters] [source file] [directory]

Parameters:

[-f] force move.

[-i] inquiry.

[-u]update If the destination file already exists and the source file is newer, it will not be updated.]



This article is from the "attack on the Gourd Baby" blog, please be sure to keep this source http://huluwa.blog.51cto.com/9930756/1660519

"Linux Record stickers" Common command line

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.