Today we'll lay the groundwork for writing Python on Linux systems and introduce a few of the Linux commands we'll use.
1. ls command
ls command format:
ls [options] [file or directory]
Common options are:
-a displays all files, including hidden files (in dots ".") Files that begin with)
Python is easy to learn! Small series have a communication, mutual ask each other, resource sharing exchange Learning base, if you are also a Python learner or Daniel welcome you to!?:548+377+875! Learn together to progress together!
The leftmost set of data, which is composed of several characters of drexr-, represents the file permissions. d The directory of the beginning of the presentation;-The beginning of the ordinary file
2. CD command
CD command format:
CD [options] [parameters]
The file location will open the directory directly after the CD
We opened the video directory, using LS to see that there is a file called PYTHONVIP.
After CD Add ~ will return home directory
We first use the command CD in the '/usr/share/wordlists ' directory: Return to the top level, to the/usr/share directory
3. Touch command
Touch is used to build files, and this is simple. For example, we create a new call python.py file, directly in the terminal input touch python.py and then enter the good.
The first LS does not python.py this file, the second LS will have python.py this file.
4. mkdir command
mkdir English is the use of make Directory,mkdir command and the same as the Touch command, the direct command after the directory name can be, create a new directory called Woaipython.
As for the other copies of the Cut command or the graphical interface to be friendly, here is not a repeat.
Learn a little every day.
85% of businesses are basically using linux!. Introduce some of his orders today!