Help answer threads with 0 replies.
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 09-25-2007, 09:54 PM   #1
LQ Newbie
Registered: Sep 2007
Posts: 5

Rep: Reputation: 0
Unhappy Urgent : creating folder using bash script

Hi...i am new to bash scripting...can anyone tell me how to create directories using bash scripts???
Old 09-25-2007, 10:07 PM   #2
Senior Member
Registered: Dec 2005
Location: Massachusetts, USA
Distribution: Ubuntu 10.04 and CentOS 5.5
Posts: 3,873

Rep: Reputation: 335Reputation: 335Reputation: 335Reputation: 335
Putting the word "Urgent" in your post title isn't going to get an answer any faster. Most of us consider it a bit irritating. Everyone wants an answer as quickly as possible.

You can use the mkdir command to create directories in a bash script. Here is an example.
mkdir newdir
That script will create a new directory named newdir in the current directory.
Old 09-26-2007, 02:58 AM   #3
LQ Newbie
Registered: Sep 2007
Posts: 5

Original Poster
Rep: Reputation: 0
Smile Thanxxxx

Thanxxx a lot...sorry about that 'urgent' thing but have got an assignment due...thats y


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 urgent help with bash script ferradura Linux - General 4 09-11-2007 05:32 PM
bash script, for all files in folder do ............ Simon_6162 Programming 2 07-18-2007 03:40 PM
Creating switches in a bash script Moto_Jon Programming 2 07-28-2004 07:06 PM
Help creating a Bash script gothicreader Linux - Newbie 4 10-10-2003 02:36 PM
need help creating a bash script zibertron Linux - General 3 01-31-2003 10:23 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:25 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