Search
 
SCRIPT & CODE EXAMPLE
 

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.
Comment

PREVIOUS NEXT
Code Example
Shell :: how to boot from grub rescue 
Shell :: docker exec it bash python 
Shell :: how to make pyinstaller build python program not open command prompt 
Shell :: homebrew 
Shell :: bash replace beginning of string 
Shell :: linux chown 
Shell :: bash setting home 
Shell :: how to download file from terminal ssh 
Shell :: step7 pgadmin ubuntu 20.04 
Shell :: tar uncompress tgz 
Shell :: install redux 
Shell :: Best way to change the file extension in powershell 
Shell :: docker run image 
Shell :: git push specific branch 
Shell :: git remove large files with bfg 
Shell :: how can i solve my problems? 
Shell :: how to push git branch to remote 
Shell :: Create Boxes Around Text 
Shell :: if clauses bash 
Shell :: Command to create the private key and public using the openssl command : 
Shell :: git issues 
Shell :: systemctl enable service 
Shell :: example bash script 
Shell :: Bootable flash from ubuntu terminal 
Shell :: sms_autofill flutter 
Shell :: cat example 
Shell :: git combine two branches into third 
Shell :: how to connect raspberry pi to laptop using hdmi 
Shell :: take a screenshot linux terminal 
Shell :: install windows 10 on virtualbox mac 
ADD CONTENT
Topic
Content
Source link
Name
3+3 =