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

in Linux / Unix by (552k points) | 249 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 (552k points)

Related questions

+4 votes
1 answer
+4 votes
1 answer
+4 votes
1 answer
asked Aug 9, 2019 in Guides by backtothefuture (552k points) | 316 views
+4 votes
1 answer
asked Nov 11, 2019 in Internet by backtothefuture (552k points) | 256 views
+3 votes
1 answer
asked Sep 22, 2019 in Security by backtothefuture (552k points) | 238 views
Sponsored articles cost $40 per post. You can contact us via Feedback

Most popular questions within the last 30 days

10,659 questions
10,791 answers
510 comments
3 users