Unix/Linux Go Back    

UNIX for Dummies Questions & Answers This forum is closed for new posts. Please post beginner questions to learn unix and learn linux in this forum UNIX for Beginners Questions & Answers

How do you create Directory sturctures?

UNIX for Dummies Questions & Answers

Thread Tools Search this Thread Display Modes
Old Unix and Linux 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

`-- Unix1Linux
    |-- 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 "
mkdir -p Unix1b/Unix1

then i do"
cd Unix1


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? Linux

Last edited by Scrutinizer; 02-09-2013 at 01:18 AM.. Reason: additional code tags
Sponsored Links
Old Unix and Linux 02-08-2013
Yoda's Unix or Linux Image
Yoda Yoda is offline Forum Advisor  
Jedi Master
Join Date: Jan 2012
Last Activity: 23 September 2017, 11:43 AM EDT
Location: Galactic Empire
Posts: 3,544
Thanks: 251
Thanked 1,288 Times in 1,210 Posts
`-- is just a curved line in the tree Linux

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


Sponsored Links

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Linux 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 05:50 AM.