17-Ubuntu- file and directory command - change directory - relative and absolute paths

1. relative path:

When input path, not the front / or ~, relative to the current directory represents the directory.

Example: The current directory under the desktop, switching to desktop directory under the directory Entertainment relative paths

 

2. Absolute path:

When the input path, a front / or ~, a specific position from the home or root directory.

Example: Switch the document directory under the home directory by directory absolute path from Entertainment

Guess you like

Origin www.cnblogs.com/summer1019/p/11059642.html