Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

bash cd root permission denied

The best thing to do is sudo su or su, then cd to /root. You can (if you want) string together commands like this: su -c "cd /root; dostuff", but the first way is easier if you need to get into /root.
 
PREVIOUS NEXT
Tagged: #bash #cd #root #permission #denied
ADD COMMENT
Topic
Name
6+3 =