SYST15123 Assignment 01
SYST15123 Assignment 01
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:
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: ………………………………………….
Command: ………………………………………….
7. Use a single command to rename and move the “sed-info” from the “docs” directory to the “bin” directory.
Command: ………………………………………….
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.
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