The Linux directory is divided into relative path and absolute path by call
Relative path: Finding a target from the current path can also be used./Call the current directory file or: /Call a file in the previous level directory to view the current path via PWD
Absolute path: Locates files from the root directory.
When the CAT/ETC/PASSWD command is executed, because the absolute path is referenced, it is found directly from the root directory to the ETC directory, where the passwd file is found. If you take a relative path, assume that the current directory is a etc file, you can directly perform cat passwd or cat./passwd to find the passwd file.
The switch directory under Linux is the CD command, the CD command also supports relative paths and absolute paths, and can go directly to the TMP directory via cd/tmp. If it is in the/etc directory, you can use the CD. Enter the parent directory/, then enter the TMP directory via cd/tmp
Linux is divided into multiple terminals depending on the landing method:
Physical Terminal:/dev/console
Virtual Terminal: CTRL+ALT+FN (TTY)
Graphics Terminal: X server,gnome
Pseudo Terminal:/dev/pts/#
Specific terminals can be viewed via TTY
Directory and terminal learning under Linux