Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Can I get help with this: I was able to create a directory called /Labs/chap4/ your-last-name under /root directory, then cd to /root/Labs/chap4 but no

Can I get help with this: I was able to create a directory called /Labs/chap4/your-last-name under /root directory, then cd to /root/Labs/chap4 but no understanding when it gets to part 3.

ITSC 1307 Unix

Chapter 4 Lab Part 2

In this lab, you will use what you learned from Chapter 4 to complete this exercise.

1) Using your VM login using the root account

2) Create a directory called /Labs/chap4/your-last-name under /root directory, then cd to /root/Labs/chap4.

3) Create a directory and file structure as follows using mkdir to create the directories and touch to create the files. Note the directory names, file names, and permissions. Your structure should look identical. Ive also included a long listing of the structure below the screenshot. View your structure from Labs/chap4 using:

image text in transcribed

cd ~/Labs/chap4 (this is to make sure youre in the /root/Labs/chap4 directory

tree -p your-last-name ls -lR your-last-name

4) When you have finished run the following two commands from your /root/Labs/chap4 directory to create 2 txt files:

tree -p your-last-name > your-last-name-tree.txt ls -l -R your-last-name > your-last-name-list.txt

5) I will show you how to upload the 2 txt files to your host.

Tree View (make sure youre in /root/Labs/chap4)

khagan@cois-linux:~$ tree -p Hagan/ Hagan/ [drwxr-xr-x] diri [drwxr-xr-x] dirla L [lrwxrwxrwx] file3a.soft -> ../../dir3/file3a [drwxr-xr-x] dirlb L [-rw-r--r--] file4a.hard [drwxr-xr-x] dir2 [drwxr-xr-x] dir2a L [-rwsr-sr-t] file2a [drwxr-xr-x dir2b L[-rwSr-Sr-T] file2b [drwxr-xr-x] dir3 [-rw-r--r--] file3a [-rwx-wx--x] file3b [drwxr-xr-x] dir4 [-rw-r--r--] file4a [-rwxr-xr-x] file4b 8 directories, 8 files khagan@cois-linux:~$

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

Hands On Database

Authors: Steve Conger

1st Edition

013610827X, 978-0136108276

More Books

Students also viewed these Databases questions

Question

=+ Have they changed the way employers view IP?

Answered: 1 week ago