Where and who am I?

Unix basics
Concepts
One’s location in the computer or server
Author

Karen C. Goncalves dos Santos

Published

January 11, 2023

Directory is the same as Folder. Working directory means the folder in which you currently are.

Commands are normally acronyms, so the command itself tells you what it does

Where am I?

  • pwd
    • Print Working Directory
    • Prints the absolute path of your current location in the computer.

Commands are normally acronyms, so the command itself tells you what it does

cd: change directory: use cd followed by the path to a folder to change your location in the computer.

whoami

The command whoami literally answers the question in the context of the computer, meaning it tells you who is the current user. Try running it in your computer right now!

Back to top