Check your understanding of the previous reading: the commands for moving around a file system, absolute and relative paths, and why forward slashes suit Python.
Write the command for moving up a directory.
A pair of periods means the folder one level up, so the command is cd .. (cd ../ works too).
Write the command for moving to a folder named "homework" that is in the current directory.
The folder is in the current directory, so its relative path is simply its name: cd homework.
Write the command for printing the current directory.
PWD stands for Print Working Directory: pwd.
Write the command for listing files in the current directory.
ls stands for "list": it lists the files in the current working directory.
Given the following map of a filesystem…
/root/
python/
readme.rst
python.exe
qt.conf
classes/
cs1064/
adventure_game.py
assignment2.txt
ethics_submission.pdf
dog1223/
readings.pdf
project1.docx
DCIM-1221.jpg
data/
survey_results.csv
state_names.json
f15_student_logs.txt
Answer the following: