1. Autocompletion (Tab) - like vs code tab is used to move to directory

Type first few letters of a file/folder and press Tab to auto-complete.

Example:

cd Doc<Tab>

Automatically completes to:

cd Documents

💡 Saves time and avoids typing mistakes


2. Switch to Last Directory

cd-

Moves you back to the previous working directory.

Very useful when switching between two folders frequently.


3. Run Multiple Commands in One Line

Use semicolon ; to run multiple commands:

cmd1; cmd2; cmd3

Example:

mkdir test;cd test;touch file.txt

Commands execute one after another.