S
S
Stepan19982022-01-04 01:25:57
ubuntu
Stepan1998, 2022-01-04 01:25:57

How to change to a folder in the home directory?

How to enter the user folder?

I go to the home folder It comes in
cd /home/
normally
I try to go to It throws it
cd /home/user/
to the root

I try to go to user from home, it also throws it to the root
cd /user/

Answer the question

In order to leave comments, you need to log in

2 answer(s)
V
Viktor Taran, 2022-01-04
@Stepan1998

cd ~

A
Alexander Karabanov, 2022-01-04
@karabanov

cdwithout parameters, by default, goes to the user's home directory.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question