Assignment 2
Assignment 2
Question One
Write a shell script called num_loop.sh that loops through every number 1 through
20 and prints each number to standard output. The script should also conditionally
print I'm big! for every even number.
Question Two
a) Write a shell script that takes as its arguments your first name, last name,
year of study and programs and prints the output as:
Your first name: _________
Your last name: __________
Your enrolled in: __________
You’re in year: ____________
Question Three
Write a shell script that checks if:
a) A directory path /home/ubuntu/access exists and if not create
b) A file /home/ubuntu/acsess/myscript.sh exists and if not create it