illicitonion / Terminal-Coursework-Week1

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Terminal Coursework

In this coursework we want to test what you've learnt in the previous coursework.

Tasks

1) Find my script

In this repository you'll find MyDocuments - this is all the documents that I use on my laptop.

I need to find the script.js file that is a part of MyFirstWebsite however you are not allowed to use a GUI, you must use Command Line and the Terminal.

What commands would I need to use to find this file? In the section below, write all the commands you used.

Hint: You should use cd and ls.

1) Answer

2) Find my Hotel Photo

Great work!

Next, I want to try and find the photo of my hotel from my holiday in July that I want to send to a friend.

Note: You should do this by moving from where you are after completing the previous task.

2) Answer

3) Counting Script

Next, I want you to run the script in this directory

/MyDocuments/Scripts/

You can run the script by typing

./count_to_100.sh

when you're in the correct directory.

For this task, I want you to stop the counter when I have counted to 10.

3) Answer

Copy the output of the script here

4) Quiz

In this directory you'll find a quick quiz for you to complete

/MyDocuments/Quiz

You should open the quiz and answer it

About


Languages

Language:Shell 100.0%