LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 12-01-2007, 01:40 AM   #1
Bobzilla2639716495
Member
 
Registered: Nov 2007
Posts: 60

Rep: Reputation: 15
Exclamation I don't know. mkdir?


Every time I type any command like mkdir /x in-witch x= the rest of the code the thing jest wont work.
I know that after trying almost ever command mentioned in about 7 different web sights I should probably give it up,
But the possibility that something could require mounting a HD or something is to compelling.


So could someone direct me to the answer.
 
Old 12-01-2007, 01:50 AM   #2
Nylex
LQ Addict
 
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Rep: Reputation: Disabled
Could you please tell us exactly what the problem is, because your post doesn't tell us much. What does "won't work" mean? Post error messages and what exactly you're typing, as we can't see what's on your screen.
 
Old 12-01-2007, 02:17 AM   #3
Bobzilla2639716495
Member
 
Registered: Nov 2007
Posts: 60

Original Poster
Rep: Reputation: 15
Hi Iv tried almost every script that uses that command by typing a search fore linux mkdir in Google only to find that nun of them would work for what they say they do,
But an example wold be in the case of mounting a CD drive or a HD for example.
 
Old 12-01-2007, 02:28 AM   #4
Nylex
LQ Addict
 
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Rep: Reputation: Disabled
What exactly are you trying to do? Are you just running commands randomly? . mkdir is used to create directories, read the man page for info on how to use it ("man mkdir").
 
Old 12-01-2007, 02:35 AM   #5
matthewg42
Senior Member
 
Registered: Oct 2003
Location: UK
Distribution: Kubuntu 12.10 (using awesome wm though)
Posts: 3,530

Rep: Reputation: 65
Please post the commands you used and the output they produced (please copy-paste, and post in [code] tags to improve readability).
 
Old 12-01-2007, 02:51 AM   #6
Bobzilla2639716495
Member
 
Registered: Nov 2007
Posts: 60

Original Poster
Rep: Reputation: 15
Post

Quote:
Originally Posted by Nylex View Post
What exactly are you trying to do? Are you just running commands randomly? . mkdir is used to create directories, read the man page for info on how to use it ("man mkdir").
Actually I was trying to just running commands randomly,
And nothing.
Directory well that much I know.
O and sorry I don't know fore what reason I mentioned mounting a CD.
 
Old 12-01-2007, 03:24 AM   #7
Nylex
LQ Addict
 
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Rep: Reputation: Disabled
You must appreciate that it's pretty much impossible for us to help you unless you post the commands you're using and what the error messages are.
 
Old 12-01-2007, 03:40 AM   #8
Bobzilla2639716495
Member
 
Registered: Nov 2007
Posts: 60

Original Poster
Rep: Reputation: 15
If nobody can tell me a reason that this command wouldn't work, then could someone tell me a way around ever having to use this in a command say to create a directory using some other command that could be used in the same way?
 
Old 12-01-2007, 03:41 AM   #9
Nylex
LQ Addict
 
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Rep: Reputation: Disabled
I repeat, post the full command you're using along with error messages. How on Earth do you expect us to tell you why it doesn't work with so little information??
 
Old 12-01-2007, 03:45 AM   #10
Bobzilla2639716495
Member
 
Registered: Nov 2007
Posts: 60

Original Poster
Rep: Reputation: 15
I jest wont to know if its possible to make a directory say to mount something to or something without having to type mkdir.
 
Old 12-01-2007, 03:49 AM   #11
Nylex
LQ Addict
 
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Rep: Reputation: Disabled
You'll be able to do it with whatever graphical file manager you use, but what's wrong with using mkdir?
 
Old 12-01-2007, 03:52 AM   #12
Bobzilla2639716495
Member
 
Registered: Nov 2007
Posts: 60

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by Nylex View Post
You'll be able to do it with whatever graphical file manager you use


How do I do that,
And will it still do all the same things?
 
Old 12-01-2007, 03:57 AM   #13
Nylex
LQ Addict
 
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Rep: Reputation: Disabled
Generic answer is to right-click in whichever directory you want to create a new directory and then select the appropriate item from the menu. If you want more specific instructions, you'll have to tell us which file manager you're using. What do you mean by "And will it still do all the same things?"?
 
Old 12-01-2007, 04:04 AM   #14
Bobzilla2639716495
Member
 
Registered: Nov 2007
Posts: 60

Original Poster
Rep: Reputation: 15
Ill probably find the answers I'm looking fore but not today so goodbye Ill come back after I find the method I was looking for so I can tell everyone what worked in my testing all the commands I can find again.
 
Old 12-03-2007, 08:15 AM   #15
antis
Member
 
Registered: Nov 2004
Location: sweden
Distribution: Arch
Posts: 67

Rep: Reputation: 15
I don't know... I might be way off here not completely understanding what your problem is but did you actually try to use "mkdir /testdir"?

In that case try it as root or if you want to do it as a regular user just strip the slash from the command and it will be created in your current directory (if you have write permission that is). I.e. "mkdir testdir".
 
  


Reply



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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
mkdir -p ? shanenin Linux - Software 4 10-19-2011 11:41 AM
mkdir on dvd+rw ekdya Debian 1 09-15-2006 05:27 PM
mkdir command digitalgravy Linux - General 5 08-12-2004 01:03 PM
mkdir help... Linux~Powered Linux - Software 2 06-13-2004 11:27 AM
mkdir help ITJedi Linux - Software 1 05-14-2004 05:19 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

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

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