Lab 1. Introduction to Bash
Due: 2025-09-15 at 23:59
In this lab, you will explore the Bash shell and learn to use some of the standard command line utilities to
- navigate the file system;
- list the contents of a directory;
- create, move/rename, and delete files and directories;
- download files from the internet;
- read manual pages to learn how to use these utilities; and
- upload files to GitHub.
This lab is to be completed individually.
Setup
Log in to one of the lab machines and open a terminal by clicking the Show Applications button in the lower left corner of the desktop and open
Terminal.
To get started, continue on to Part 1!
Command Reference
For your reference, the following is a list of relevant commands and their descriptions.
cdChanges current working directorylsLists the contents of a diretorypwdPrints the absolute path of the current working directorymkdirCreates a new directorycpCopies files or (with a suitable option) directoriesrmRemoves files or (with a suitable option) directoriesmvMoves (or renames) files and directoriesrmdirRemoves an empty directory (this is less commonly used thanrmfor this operation)manThis shows a manual page which provides a bunch of information about many of the shell commands and programswgetDownloads files from the InternetgrepSearches text files for a given pattern