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.