Linux - GeneralThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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.
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.
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.
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").
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.
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?
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??
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?"?
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.
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".
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.