Linux Learning Note 3_ basic file Operation Command Review 1

Source: Internet
Author: User


Browse Classes :

LS//Browse the contents of the current directory (files and directories)
LS-L//Long format Browse the contents of the current directory (files and directories), similar to the Windows detailed information list
ls-d//Browse current directory (name)
LS-LD//Long format browse current directory information


Path class :

CD//Return to User home directory ~ (non-root directory), or: cd ~
CD [DirName]//switch to the specified directory

mkdir//Create a directory
RmDir//Delete empty directory

File class :

 touch      //Can create new files, main functions related to timestamps 
VI        // Can create new file, main function for simple text editor
Vim        //can create new file, main function is complex text editor

Cat        // View the contents of a file, as well as the ability to create files and append content to existing files
         // http:// blog.sina.com.cn/s/blog_52f6ead0010127xm.html
         // echo        //output function to print only or add content to a file (redirect).
         // http://www.linuxidc.com/linux/2014-10/107550.htm

RM        //delete command
         // http ://man.linuxde.net/rm



This article is from the "Venetian It Notes" blog, so be sure to keep this source http://tripe.blog.51cto.com/2248780/1953238

Linux Learning Note 3_ basic file Operation Command Review 1

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.