you can either:
1. do whatever you need to do with that directory without needing to change to it (i.e. "sudo ls /home/temp", "sudo less /home/temp/foo", "sudo cp /home/temp/foo /bar", etc.)
2. open up a shell as root: "sudo su", and then you can change to it "cd /home/temp" and do whatever as root
Quote:
Originally Posted by abhis_mail2002
i typed sudo /home/temp
|
"/home/temp" is a directory, not a command, so of course that doesn't work