How to cd to desktop in linux

藏色散人
藏色散人Original
2020-10-22 11:15:0615859browse

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.

How to cd to desktop in linux

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!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn