Ubuntu newbie here. I succesfully installed Ubuntu on a VM on Windows. I am now trying to run a
localhost website using
I have read tutorials online on how to create your website in
/var/www and that you will have to create also these folders if they dont exist.
So at the terminal I did this because the
/var/www-folder did indeed not exist on my system:
root@Ubuntu-VM:/home/reveller# mkdir /var/www
Later I realized that
/var/www is actually an existing directory. I have been creating
/var/www/ was already there.
I am now trying to access
/var/www/ via terminal, but in my terminal prompt I cannot seem to go to a lower level in the filestructure than
Question 1: How can I launch a terminal with prompt
root@Ubuntu-VM:/var/www# instead of
I hope I am making myself clear. I read about
sudo but the following makes no difference:
root@Ubuntu-VM:/home/reveller# sudo su root@Ubuntu-VM:/home/reveller#
How do I traverse up the tree until I am in
Question 2 When I try to create new folders in
/var/ via the GUI filebrowser, I am unable to -- the New Folder, New Document and Paste commands are greyed out and cannot be clicked. How can I open an elevated GUI filebrowser that allows me to create, copy and paste folders troughout the filestructure?