How to cd to desktop in linux

藏色散人
Release: 2020-10-22 11:15:06
Original
15837 people have browsed it

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!

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!