Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 03-30-2004, 05:46 PM   #1
Registered: Mar 2004
Location: US
Distribution: Redhat 9 - Linux 2.6.3
Posts: 836

Rep: Reputation: 31
Create several directories?

excuse me, Linux newbey here,
I am wanting to create several directories, like /tmp/user /usr/tmp/user and so on,
should I just use mkdir or what should I use.

I sometimes leave curlers in my hair after I go to bed at night forgive me Im a n000b.
Old 03-30-2004, 06:25 PM   #2
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
The questions is not very clearly formulated...

Make the example a bit more exhaustive?

Old 03-30-2004, 06:26 PM   #3
Registered: Jan 2004
Location: Rhinelander, WI, U.S.
Distribution: Slackware
Posts: 416

Rep: Reputation: 30
Yes, "mkdir" should do the job just fine.
Old 03-30-2004, 07:51 PM   #4
Registered: Sep 2003
Location: chikyuu (E103N6)
Distribution: Redhat 8.0 (2.4.25-custom), Fedora Core 1 (2.4.30-custom)
Posts: 357

Rep: Reputation: 30
Just type something like:

mkdir /dir1/subdir2 /dir2 /dir3 /dir4 /dir5

and all of them would be created at the same time.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Need to create directories using RPM - Pls let me know dinesh_bakiaraj Linux - Newbie 1 11-11-2005 12:08 AM
Can't create shortcuts to directories on the Desktop! lma10110 Linux - Newbie 1 09-23-2005 02:15 PM
Unable to create directories satimis Linux From Scratch 8 07-02-2005 04:48 AM
Do we need to create the log and db directories by ourselves Niceman2005 Linux - Software 0 11-17-2004 09:08 PM
Can't create directories in /proc keripukki Linux - Software 3 09-03-2004 01:26 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:08 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration