Linux - NewbieThis 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!
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.
If you are trying to create a directory outside your /home/user directory, you usually need root/administrator permissions. The specific method varies a little depending upon which Linux you are using. Which Linux distribution of Linux are you using? and where (what directory) are you trying to create it in?
If you are creating a directory under /home/<your_user_account/ directory then it won't say permission denied. However, if you are trying to create directly under /home and then it will say permission denied because only root can do that. As you said that you are using Ubuntu I am assuming the account that you are using is the one that was created during the install. So instead of mkdir you can try using
It's my first time working on linux OS. So I'm just new to the whole idea of this system. That's why I tried to create a directory in the home (Which is the one that is open initially)
Ubuntu 12.10 has not been supported since May, 2014 so you won't have updates of software available. Using 12.04 which is supported until April, 2017 or 14.04 which is supported until April, 2019 might be a better idea if your hardware can handle it.
Distribution: Debian Sid AMD64, Raspbian Wheezy, various VMs
Posts: 7,680
Rep:
yancek makes a good point about using a supported version of Ubuntu.
Quote:
Originally Posted by Bill.harlod
It's my first time working on linux OS. So I'm just new to the whole idea of this system. That's why I tried to create a directory in the home (Which is the one that is open initially)
If you want to create a directory to organise things you should be doing so in your own home directory which will be something like /home/bill and not straight in /home. The directory /home is where the individual home directories for users are created so unless you are doing so for a specific reason you should generally not create directories there.
Usually though when you open a terminal you start off in /home/bill and it's indicated by the prompt saying something like "bill@ubuntu:~$" where the "~" sign shows you are in your home directory and you can change to your home any time by typing "cd ~" without the quotes.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.