Linux Command Cheat Sheet/Go to home directory

Change to your home directory.

Section: Navigation and Discovery

Go to home directory

bash
bash
cd ~
Explanation

A fast way to reset back to your home directory.

Learn the surrounding workflow

Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.

Related commands

Same sheet · prioritizing Navigation and Discovery
Go to previous directory
Jump back to the last directory.
OpenIn sheetbashsame section
Print working directory
Show the current absolute path.
OpenIn sheetbashsame section
List directory contents
List files and directories.
OpenIn sheetbashsame section
Show directory tree
Display a recursive tree of files and directories.
OpenIn sheetbashsame section
Find executable on PATH
Show which executable will run for a command.
OpenIn sheetbashsame section
Locate binary, source, and man page
Search standard binary and documentation paths.
OpenIn sheetbashsame section