What does `echo ~` output?

QuestionsQuestions8 SkillsProBasic Files OperationsNov, 16 2025
069

The echo ~ command outputs the path to the current user's home directory. For example, if your username is user, it would typically output /home/user. If you are on a macOS system, it might output /Users/user. The exact output depends on the operating system and the username of the logged-in user.

0 Comments

no data
Be the first to share your comment!