0% found this document useful (0 votes)
96 views2 pages

SYST15123 Assignment 01

This document provides instructions for an assignment on using basic UNIX commands and file system navigation. Students are asked to: 1. Create directories to organize files in a hierarchy under a "Unix" directory. 2. Use commands to store man pages in text files and move them between the directories. 3. Rename and copy files between directories using both absolute and relative paths. 4. Delete the entire "Unix" directory structure and contents with a single command.

Uploaded by

deepkarampta0
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
96 views2 pages

SYST15123 Assignment 01

This document provides instructions for an assignment on using basic UNIX commands and file system navigation. Students are asked to: 1. Create directories to organize files in a hierarchy under a "Unix" directory. 2. Use commands to store man pages in text files and move them between the directories. 3. Rename and copy files between directories using both absolute and relative paths. 4. Delete the entire "Unix" directory structure and contents with a single command.

Uploaded by

deepkarampta0
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
You are on page 1/ 2

SYST15123 Sheridan College

SYST15123 - Individual Assignment 01

Submit to the provided on Slate DropBox.

Name: ________________________________________ Number: __________________ Section _________

Objective: To explore the UNIX file system, use basic UNIX commands and use a text editor.

IMPORTANT: You must use absolute paths when completing this assignment unless a question explicitly
requires you to use a relative path.

Tasks:

1. Create a directory Unix under your account home directory.

Command(s): ………………………………………….

2. Create four sub-directories bin, conf, docs and data under the created directory "Unix". See the
directory diagram below:

Unix
conf
Your Home
directory. bin

data

docs

Command(s): ………………………………………….

3. Create a text file called “sed-info” in your "Unix" directory. Use the output redirection to store the man
page for the sed command in this file.

Command: ………………………………………….

4. Create a text file called “join-info” in your "Unix" directory. Use the output redirection to store the man
page for the join command in this file.

Command: ………………………………………….

5. Move the files "sed-info" and "join-info" to directory “docs” using a single UNIX command.

Assignment Page 1 of 2
SYST15123 Sheridan College
Command: ………………………………………….

6. Change to your “home” directory.

Command: ………………………………………….

7. Use a single command to rename and move the “sed-info” from the “docs” directory to the “bin” directory.

Command: ………………………………………….

8. Change to the “data” directory.

Command: ………………………………………….

9. While in the data directory create a command that would copy the “sed-info” from the “bin” directory and
“join-info” from the “docs” directory to the “conf” directory using a) absolute paths and b) relative paths.

Command (relative path): ………………………………………….

Command (absolute path): ………………………………………….

10. Move to your home directory. Create a single command that would delete the “Unix” directory and all the
files and subdirectories of the “Unix” directory.

Command: ………………………………………….

Assignment Page 2 of 2

You might also like