POS 433 Week 2 Linux® Directory Log - Linux Directory Log
Home Posted Questions Library

POS 433 Week 2 Linux® Directory Log - Linux Directory Log

image
Saurav
(0)
Description

POS 433 Week 2 Linux® Directory Log - Linux Directory Log

Here is the assignment:

1. Open a terminal and show the log how you create the following: (5 marks)

A. Create 2 directories under your home, account1 and account2

B. Change your directory to accountl

C. Create 2 directories called checking1 and savings1

D. Go to checking1 directory

E. Using touch command, create two files cl.dat and c2.dat

F. Change your directory to savings1 using relative path

G. Using touch command, create two files s1.dat and s2.dat

H. Go to your home directory

I. Change your directory to account2

J. Create 2 directories called checking2 and savings2

K. Go to checking2 directory

L. Using touch command, create two files c3.dat and c4.dat

M. Change your directory to savings2 using relative path

N. Using touch command, create two files s3.dat and s4.dat

O. Change to account1 directory

2. Show the commands for the following. (5 Marks)

(Each carries 1 mark from A to E and in each one mark, ½ is for the command and

for the output)

Ans:

A. You are now in account1 directory. Copy s1.dat to this directory using relative

path. Show the new file that copied with Is command from this directory. Do

not change the directory.

B. Move cl.dat to savings1 directory using relative path as s1.dat. Show s1.dat

with Is command from this directory. Do not change the directory.

Ans:

C. Change your directory to savings2 using absolute path. Show the current

directory after you changed.

Ans:

D. Copy c2.dat to your sibling directory, checking2 using relative path (Sibling

directories have same parent) (Also do not use~). Show c2.dat with Is

command from this directory, do not change the directory.

Ans:

E. Move s4.dat to savings 1 directory using absolute path. Show s4.dat with Is

command from this

Recommended for you

Reviews & Feedback

Average rating 0.0 based on 0 review(s).


5 Stars
(0)
4 Stars
(0)
3 Stars
(0)
2 Stars
(0)
1 Stars
(0)

No Reviews Yet.

Basic Information

Price
4.99
Uploaded on
Jan. 12, 2023
Subject
Political Science
Course Code
pos420
Attachments
1 Files
Institution
None