Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

3 Practical Tasks (8 marks) Complete the following tasks, writing your answers (or what you did) in a plain text file, and get your answers

image text in transcribed

3 Practical Tasks (8 marks) Complete the following tasks, writing your answers (or what you did) in a plain text file, and get your answers marked off by your tutor before you leave. Also, do take note of the submission instructions in Section 3.4. 3.1 Task 1 (4 marks) Experiment with navigating to the following paths using the cd command. After navigating to each directory, use the ls command to look at the files in that location. Are you able to navigate to all of these paths? Does it matter what working directory you are in before running the cd command? /home/student/Documents FIT2100 -/Documents/FIT2100 ..././.././home/student After experimenting, answer the following questions in a plain txt file: (a) Which of the paths above are absolute, and which of them are relative paths? (b) What are the advantages of using absolute paths over relative paths? Why and when would you choose to use relative paths over absolute paths? (c) Write cd commands that allow you to achieve the following: navigate to one directory above the user's home directory no change to your current working directory (d) To run programs in your current directory, you will need to place a ./ in front of the name of a program - why is this required? Assuming you have an executable named gcc in your current directory, describe what might happen if we were able to run programs in the current directory without needing to prepend a . / to the program name

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Pro Database Migration To Azure Data Modernization For The Enterprise

Authors: Kevin Kline, Denis McDowell, Dustin Dorsey, Matt Gordon

1st Edition

1484282299, 978-1484282298

More Books

Students also viewed these Databases questions

Question

b. Will there be one assigned leader?

Answered: 1 week ago

Question

d. How will lack of trust be handled?

Answered: 1 week ago

Question

b. Does senior management trust the team?

Answered: 1 week ago