Home > Article > Operation and Maintenance > How to cd to desktop in linux
In Linux, if you want to cd to the desktop, you can use the command "cd /home/$USER/Desktop" or "cd ~$USER/Desktop" to switch to the Desktop of the specified user.
Recommended: "linux tutorial"
In the linux GUI desktop, by default each new user will have Your own /home/$USER/Desktop directory.
To switch to the Desktop of a specified user, you can cd /home/$USER/Desktop or cd ~$USER/Desktop.
For example, if you are a test user, cd /home/test/Desktop.
Switch to your own Desktop, you can also cd ~/Desktop.
The above is the detailed content of How to cd to desktop in linux. For more information, please follow other related articles on the PHP Chinese website!