Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

NEED ANSWER ASAP PLEASE THANK YOU!!! AND CAN SOMEONE ELSE ANSWER IT THE PREVIOUS ONE IS NOT WORKING THANK YOU!!! Create a Directory In your

NEED ANSWER ASAP PLEASE THANK YOU!!! AND CAN SOMEONE ELSE ANSWER IT THE PREVIOUS ONE IS NOT WORKING THANK YOU!!!

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

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_2

Step: 3

blur-text-image_3

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

The Structure Of The Relational Database Model

Authors: Jan Paredaens ,Paul De Bra ,Marc Gyssens ,Dirk Van Gucht

1st Edition

3642699588, 978-3642699580

More Books

Students also viewed these Databases questions