Session 1: Introduction
Objective:
Lesson Plan:
Command | Action | Example |
---|---|---|
ls | Lists the contents of your current directory. A directory is similar to a file cabinet, it holds both folders and files. | ls or ll |
cd | Changes your directory. | cd Documents |
pwd | Prints your current directory | pwd |
man | Allows you to read the manual page for different commands. | man cd |
cp | Copies a file and gives it the name of your choosing. Must use -r when copying directories. | cp original.py copy.py |
mv | Moves files. | mv filename.doc Documents |
rm | **Careful! This command deletes the file of your choosing. Once you use this command, the file is gone! There are no warnings. |
rm file_name.doc |
mkdir | Makes a directory. | mkdir CS_Notes |
less | Shows what is inside of a file. Press q to quit. | less myfile.py |
Change your account password
Install the necessary software on the lab machines
Accessing PyCharm
Creating a new Python Project
Congratulations! Session 1 is complete. Click here to return to the schedule.