Linux VPS Common Command Encyclopedia file directory operation

Source: Internet
Author: User
Keywords Linux vps

Intermediary transaction ">seo diagnose Taobao guest cloud host technology Hall

Linux is not as easy to use as we are familiar with Windows, the first time using Linux, perhaps SSH after the connection does not know what to do, an interface, for beginners, completely do not know what to do behind. Here are some simple common SSH command files and directory operation commands.

File and directory operations:

Go to a directory: cd/directory Name

Return to Parent directory: CD ...

Return to upper Parent directory: CD. /..

Delete File: RM filename

Delete directory: RmDir directory name

Move or rename a file: MV Old path New path

Copy file: The new file path to which the CP source file path is copied

Lookup file: Find file name

View files in directory: LS directory name

Extract rar file: rar x filename

Extract tar file: tar xvf filename

Extract zip file: Unzip file name

Create RAR Compressed package: RAR A RAR file name packaged directory

Create tar compression pack: Tar CF Tar compressed package name packaged Directory

To create a ZIP compression package: A directory of Zip Zip compressed package names packaged

Download files to current directory: wget file address

File Download Breakpoint continued: Wget-c File address

Set directory and subdirectory file permissions: Chmod-r permission directory name

To modify the timestamp of a file or directory: touch-t timestamp (format: yymmddhhmm) file

Original from: please keep, thank you

Related Article

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: 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.