Learn Linux-mkdir and CDs every day.

Source: Internet
Author: User
Tags clear screen create directory

Directory processing command (above) Create directory command

mkdir -p 【目录名】
-P is used to recursively create

Mkdir-p outerdir/innerdirdesktop jeff$ ls$recycle. Binlearning_pythonthumbs.dbouterdir Internship Summary. MD * algorithm SSH settings MyBooks graduation Specification
Toggle Directory Command

cd 【目录名】
cd ~and cd back home directory
cd -Go back to your last directory
cd ..Back to the top level directory
cd .Go to current directory
Also control+L clear screen shortcut keys

Absolute path and relative path

The following is the directory structure of Mac OS X

jeffsmacbook-pro:~ jeff$ pwd/users/jeffjeffsmacbook-pro:~ jeff$ CD. Jeffsmacbook-pro:users jeff$ CD. jeffsmacbook-pro:/ jeff$ lsapplications Home Library installer.failurerequests Network net System private Users sbin Volumes tmp bin USR core s var dev user information etc
Double-click Tab Directory/Command completion


This article is from the "Storyteller under the Banyan Tree" blog, please be sure to keep this source http://woaijorden.blog.51cto.com/5299493/1972862

Learn Linux-mkdir and CDs every day.

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.