How do you move to your home directory using a relative path name?

1 answer

Answer

1220404

2026-09-06 19:55

+ Follow

There are several ways to do this. The easiest way is just to type the command 'CD', which automatically puts you in your home directory. Other ways:

CD $HOME

CD ~

CD ~login-id (use your login-id here)

If you know the absolute path name, just use it with the 'CD' command:

CD /home/staff/guy1

ReportLike(0ShareFavorite

Copyright © 2026 eLLeNow.com All Rights Reserved.