Follow the white rabbit
This is a command line exercise for practicing basic file system navigation commands:
pwd
: Display your present (working) directoryls
: List directory contentscd
: Change directory
Instructions
- Download this
animal-world
folder to your workspace. - Navigate to this directory using your terminal.
- Note: when you open a new terminal window (i.e. using Git Bash on Windows or Terminal on Mac OS) the default location will normally be your home folder (
/Users/jane
).
- Note: when you open a new terminal window (i.e. using Git Bash on Windows or Terminal on Mac OS) the default location will normally be your home folder (
- Somewhere in this directory is an image of a White Rabbit. Find it using only the command line.
Extra Activities
Find the rabbit? Try these challenges next:
- Create a new directory with the
mkdir
command; - Copy an animal to another location in
animal-world
using thecp
command; - Rescue (move) the Tiger from the zoo using the
mv
command; - The clearing in the forest is so beautiful, it needs a file to describe it:
- Navigate to the
clearing
; - In the clearing, create an empty
README.md
file using thetouch
command; - Using VS Code, open
README.md
and write a poetic description of the clearing, OR:- Advanced: write a poetic description of the clearing in
README.md
directly from the terminal usingvi
orvim
.
- Advanced: write a poetic description of the clearing in
- Navigate to the
- Open an image from the command line (you might need to search for some hints on this one).
Attributions
Lorem Picsum Images
Original source: Unsplash