Question: Create a Directory In your LabTech folder on Elvis (probably named LABTECH), create a folder named FileTree . In FileTree , create the following subtree

Create a Directory

In your LabTech folder on Elvis (probably named LABTECH), create a folder named FileTree.

In FileTree, create the following subtree of files and directories. Except for 0-README.txt, all the files were created with the touch command, and are empty. All the folders (they have a d on the left) were created with mkdir. All the permissions were set using chmod. (See below for information about 0-README.txt.) Be sure you get the names and permissions exact.

After you create a directory, you can cd into it to create any subdirectories or files. To go back up, remember that every folder has an entry named .. which points to the parent.

The output below is from running tree -anp in the reference folder.

.  [-rw-r--r--] 0-README.txt  [drwxr-xr-x] bar   [dr-xr-xr-x] B   [-rwxr-x---] busy   [-rw-------] buzzy  [drwxrwx---] baz   [drwx------] A   [-rw-rw----] B  [drwx------] .dotdir   [-rw-r--r--] ditto   [-rw-r--r--] dotto  [drwxr-xr-x] foo  [-r--------] ag  [-rw-------] .dotfile  [-r--r--r--] ig  [-rw-rw-rw-] og  [drwx------] Z  [-rwxr-xr-x] ap  [-rwx------] ip  [-rw-r--r--] op 7 directories, 13 files 

The 0-README.txt file should be exactly 200 characters long, which you can check by running this command:

 ls -l 0-README.txt 

The output should look something like this (the file size has been bolded below):

 -rw-r--r-- 1 albus domain users 200 Jan 13 14:53 0-README.txt 

Here is the contents of 0-README.txt, which you should change to have your name and username:

This is file 0-README.txt. It was created by Albus Dumbledore, username 'albus'. It is supposed to be exactly 200 characters long. Here are extras: 123456789012345678901234567890123456789012345678 

You may have to add/remove some of the extra characters at the bottom to get the file to come out to exactly 200 characters.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!