Class Assignment01
Class Assignment01
PhD
CPS 5401: Class Activity 1 2022-09-14
Bitbucket Repository Setup and Shell Scripts
This assignment has to be completed independently during the class time. You may consult the Internet
and/or the instructor during the class session. Deadline: 6:30 pm, September 14th 2022.
1. In Bitbucket repository settings, grant the instructor (search for nssharma@utep.edu) and the TA (search
for atwumasi@miners.utep.edu) the read privilege. This will be the repository where you will submit
your codes from here on forth.
2. Make a clone of the Bitbucket repository on your local machine.
3. On your local machine, go inside the cloned directory, and create a sub-directory called class-091422.
Put all required work for this assignment in this sub-directory.
3. Commands to add, commit and push:
$ git add class-091422
Write a shell script ‘directory exist.sh’ that checks the existence of a directory in the current location and
creates the directory if it is missing or prints Directory exists to the screen if it exists.