---

10 Useful cd Command Tips in Linux

The cd (change directory) command in Linux/Unix is pretty simple. It is one of the standard routine commands for every Linux user. It permits you to switch directories from one to another via terminal. The cd command works based on the absolute path and relative path of a directory.

If you are a newbie or Windows user, then you may still be learning what constitutes a directory in Linux. It is just like a folder in Windows, and each folder in Windows can contain sub-folders. Similarly, in Linux also, the directories can have sub-directories on it. The slash (/) is a top-level directory in Linux, or we can call it “root”.

Before jumping into the syntax, and the various options of the ‘cd’ command, let us memorize a few symbols which will help us to make some shortcuts.

Get the Free Newsletter!

Subscribe to Developer Insider for top news, trends, & analysis