Terminal

Oliver Grawert ogra at ubuntu.com
Sat May 16 09:56:20 UTC 2009


hi,
Am Freitag, den 15.05.2009, 22:56 +0800 schrieb sg1:
> Hi 
> 
> Moving from director to directory I am using cd ~/name of director the
> terminal is not recognising  the "~" for some reason.'
> 
> sg1 at sg1-desktop:~$ sudo su

instead of "sudo su" just use sudo with the -s switch, sudo -s does
largely the same as "sudo su" but preserves the environment (i.e. the
HOME variable still points to the home of the user calling the sudo
command).

ciao
	oli

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: Dies ist ein digital signierter Nachrichtenteil
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20090516/8bf89566/attachment.sig>


More information about the ubuntu-users mailing list