You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
> **Absolute path** starts from the root directory, so it always starts with `/`:
84
83
> ```
85
-
> /workspace/unixclass/my_file.csv
86
-
> /workspace/unixclass/data/my_file.csv
84
+
> /workspace/unixclass/my_file.txt
85
+
> /workspace/unixclass/data/my_file.txt
87
86
> ```
88
87
89
88
> [!TIP]
90
89
> **Special Characters**.
91
90
> **Forward slash** `/` denotes the root directory at the beginning of a path, and is the element delimiter in the middle of a path:
92
91
> ```
93
92
> / # Root directory
94
-
> data/my_file.csv # Delimits the directory name "data" from the file name "my_file.csv"
95
-
> /workspace/unixclass/data/my_file.csv # The first slash denotes the root directory, and the subsequent ones delimit path elements
93
+
> data/my_file.txt # Delimits the directory name "data" from the file name "my_file.txt"
94
+
> /workspace/unixclass/data/my_file.txt # The first slash denotes the root directory, and the subsequent ones delimit path elements
96
95
> ```
97
-
> A **single dot** `.` represents the present working directory, and **double dots** `..` represent the parent directory of the present working directory. Assume we are currently in `/workspace/unixclass/data`:
96
+
> A **single dot** `.` represents the present working directory, and **double dots** `..` represent the parent directory of the present working directory. Assume we are currently in `/workspace/unixclass/data/sample`:
0 commit comments