How do you create Directory sturctures? | Unix Linux Forums | UNIX for Dummies Questions & Answers

  Go Back    


UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

How do you create Directory sturctures?

UNIX for Dummies Questions & Answers


Closed Thread    
 
Thread Tools Search this Thread Display Modes
    #1  
Old 02-08-2013
blackendstars blackendstars is offline
Registered User
 
Join Date: Feb 2013
Last Activity: 8 February 2013, 11:45 PM EST
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Wrench How do you create Directory sturctures?

A book that i bought is saying to use mkdir and touch to create a directory called "Unix1b" within my home directory with the structure at the following



Code:
Unix1b
`-- Unix1
    |-- admin
    |-- street
    |   |-- annex
    |   |-- building1
    |   `-- parking
    |-- faculty
    |-- history.exe
    |-- markham
    |   |-- outline.doc
    |   |-- programming
    |   |   `-- systems.pdf
    |   `-- security
    |-- course
    |   |-- gen_ed
    |   `-- lib_arts
    |       |-- english.txt
    |       `-- match.doc
    `-- mall
        |-- cafeteria
        |-- library
        `-- security
            |-- annex
            |-- building
            `-- parking

i did "
Code:
mkdir -p Unix1b/Unix1

"
then i do"
Code:
cd Unix1

"

Code:
username@matrix:~/Unix1> mkdir street
username@matrix:~/Unix1> mkdir admin
username@matrix:~/Unix1> cd street
username@matrix:~/Unix1/street> touch annex
username@matrix:~/Unix1/street> touch building1

now here is my question, what should i do for the for the parking in street directory.... what does that " `-- parking " mean?

am i even doing this right?

Last edited by Scrutinizer; 02-09-2013 at 01:18 AM.. Reason: additional code tags
Sponsored Links
    #2  
Old 02-08-2013
Yoda's Avatar
Yoda Yoda is offline Forum Advisor  
Jedi Master
 
Join Date: Jan 2012
Last Activity: 17 September 2014, 6:33 PM EDT
Location: Galactic Empire
Posts: 3,382
Thanks: 234
Thanked 1,206 Times in 1,133 Posts
`-- is just a curved line in the tree

I guess the entries with extension are files in the tree:-

Code:
history.exe
systems.pdf
english.txt
match.doc

Sponsored Links
Closed Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Create script to add user and create directory pbhound Homework & Coursework Questions 12 04-01-2011 09:02 AM
Cannot create a directory ahamed Shell Programming and Scripting 6 01-29-2010 01:09 PM
create directory yang UNIX for Dummies Questions & Answers 5 07-25-2008 01:45 PM
How to create a directory? o5m2a8r UNIX for Dummies Questions & Answers 1 06-03-2008 11:53 PM
unable to create any directory that uses numbers as the directory name fed.linuxgossip UNIX for Advanced & Expert Users 16 01-13-2008 07:54 PM



All times are GMT -4. The time now is 07:38 PM.