Python Basics (i)--linux Command Chapter

Source: Internet
Author: User

There's still time for the next exam at the end, so take a look at the Python video, based on the python2.7.6, with the Xubuntu (VM Building virtual machine).

First spent 2, 3 hours installed Xubuntu, the configuration of Sogou input method, Gedit also configured a bit, and finally easy to use a bit better, the virtual machine or save a bit of resources, otherwise the card is dead.

Familiar with the Linux basic commands, first familiar with the writing, simple to write, temporarily no time to solve parameter problems.

1.PWD: Show current directory

2.LS: List Current directory objects

LS-L lists the information in more detail.

There are many other parameters that you can check yourself.

3.man + command, command-help These two can be used to check the specific use of the command

4.CD:

CD XX: Sub-directory XX to enter the current directory

CD YY/XX: Sub-directory of the subdirectory yy xx

CD, CD ~ Two are all into the current home directory

Cd.. Go to previous directory

Cd.. \.. Go to top two directories

CD \ Go to root directory

CD-Enter the previous entry directory

The CD!$ parameter uses the parameters of the previous command as the CD parameter

5.mkdir

Add a file

6.cpmod

Change the file read and write execution properties, rwx using binary sorting, big-endian row

7.cp

CP xx/yy ZZ/SS copy Xx/yy to Zz/ss, often cp-r copy all files and subdirectories

8.rm

As opposed to mkdir, delete the file.

9.sudo

Temporarily only know can exceed the permission, use the function of root

10.apt-get

Ubuntu Common installation commands, you can check it yourself, how to use

The rest learns to mend.

Python Basics (i)--linux Command Chapter

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.