Re-learn Python, learn python

Source: Internet
Author: User

Re-learn Python, learn python
Learning Resources

 

Virtual Machine tools:VMWare 12

Linux:Ubuntu 14 or CentOS 6

PS: how to set up a remote connection tool for ubuntu

Step 1: Enter sudo apt-get install openssh-server, provided that you have connected to the Internet.

Step 2: After the load is complete, the system will automatically install it. Check if the sshserver is started. Enter ps-e | grep ssh.

If sshd exists, it indicates that the startup is successful. If no, sudo/etc/init. d/ssh start

Client Connection Tool: xmanager or SecureCRT 8.0 (keys can be searched online)

How to install vmware tool: https://jingyan.baidu.com/album/3065b3b6e8dedabecff8a435.html? Picindex = 5

 

Root Directory Overview

 

Command for viewing the root directory

ls /

Or

ll /

Directory introduction:

/-> Root directory/boot-> boot configuration file, kernel and other files required for startup/etc-> store system configuration-related files/home-> store Common User Directories /mnt-> manually mounted file system on the hard disk/media-> automatically mounted hard disk partition/opt-> stores some users' installation software and files, general testing software is installed in this directory/root-> System Administrator directory/bin-> store common command files/sbin-> system management command/tmp-> temporary directory/usr -> General shared path

File System Default: ext4

 

Several Common commands

 Date: date command

1. query the usage of the date command

man date

2. modify the system time, but only the root permission can be modified.

date -s 20171112date -s 15:15:15

3. display a calendar

cal

 

Machine startup commands

Logout # logout shutdown # shutdown reboot # restart

 

Cd command

Cd/opt/# Go to the opt path cd-# Go To The last opened path cd .. # go back to the previous directory

 

Passwd

Passwd # modify the password of the current user

 

Touch

Touch test # create the test file touch test.txt notebook and create the test.txt File

Rm

Rm test.txt # DELETE command

Delete directory

Rm-rf directory # Delete non-empty directory, use rmdir with caution # Delete empty directory

 

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.