+4 votes
233 views
How to navigate to Home Directory quickly in Linux?

in Linux / Unix by (551k points) | 233 views

1 Answer

+5 votes
Best answer

Did you get lost in the flaws of the Linux directory structure and want to go back to your working directory?

Then just enter

cd $ HOME

and press [Return] .

This statement gets the home directory of your account from the environment variable HOME and puts you there directly.

With many Linux variants it's even shorter. Here the command is sufficient

cd ~

Our reader Ulrich Borgdorf has a quicker process:

cd and [Return] are sufficient.


by (551k points)

Related questions

+4 votes
1 answer
+4 votes
1 answer
+4 votes
1 answer
asked Aug 9, 2019 in Guides by backtothefuture (551k points) | 302 views
+4 votes
1 answer
asked Nov 11, 2019 in Internet by backtothefuture (551k points) | 242 views
+3 votes
1 answer
asked Sep 22, 2019 in Security by backtothefuture (551k points) | 222 views
Sponsored articles cost $40 per post. You can contact us via Feedback
10,634 questions
10,766 answers
510 comments
3 users