User Tools

Site Tools


This is an old revision of the document!

Assignment 1

Due August 28, 2018

Compile your answers in a .txt document

Turn your answers in on CANVAS


Explain what these two commands do by executing them and seeing what happens:

$cd ~
$cd - 


The grandparent directory: Can you find TWO ways to move into the grandparent directory in a single command? That is, how can you move from
by executing cd just once? Find TWO ways to do this. One way should use an absolute path and the other should use a relative path.


If I have several directories within my Photos directory, like so: /Users/erin/Documents/Photos/Instagram/

How move from within the Selfies folder to the Instagram folder using one cd command that uses a relative path?


Up to this point, we have used ls without any arguments. However, ls can take an argument. See what happens when you give ls the following types of arguments:

A. a directory specified by a relative path\\
B. a directory specified by an absolute path\\
C. a file

Fun Stuff

This is just for fun and is not due…

Challenge Question

What do you think the difference is between these…


assignments/2018assignment1.1532464077.txt.gz · Last modified: 2018/07/24 14:27 by erin