Unable to create directory in ubuntu/debian

Status
Not open for further replies.

-={MINDFREAK}=-

Active Member
194
2011
4
20
Hello Friends,
I am following this tutorial to install rutorrent on my server but at one step i am unable to create directories and getting error.
Code:
http://www.torrent-invites.com/seedbox-tutorials/195434-ubuntu-12-04-lts-dedicated-server-rtorrent-rutorrent-installation-tutorial.html

what i am trying
Code:
# mkdir /home/<username>/rtorrent 
# mkdir /home/<username>/rtorrent/.session 
# mkdir /home/<username>/rtorrent/watch 
# mkdir /home/<username>/rtorrent/download

error
Code:
mkdir: cannot create directory `/home/myusername/rtorrent': No such file or directory

help me to find the solution.
 
Last edited:
5 comments
You can simply add the "-p" option to "mkdir" to create the whole path in case it doesn't exist. Like:

Code:
mkdir -p /home/myusername/rtorrent
 
if its saying that the file or directory does not exist it is because you are either misspelling the username or miss-capitalizing a letter.
Agreed with you, -p flag will create a new folder with subdirectories but if you want to create it in desired user location try to check spelling.
 
Status
Not open for further replies.
Back
Top