ops102:filesystem_basics
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
ops102:filesystem_basics [2024/05/03 21:20] – [Current Directory or Working Directory or Current Working Directory] chris | ops102:filesystem_basics [2024/05/04 01:41] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 180: | Line 180: | ||
Relative pathnames are often the shortest form of pathname //if// the target file is in the current working directory or a subdirectory of the current working directory, but the meaning of a relative pathname changes based on the current working directory. | Relative pathnames are often the shortest form of pathname //if// the target file is in the current working directory or a subdirectory of the current working directory, but the meaning of a relative pathname changes based on the current working directory. | ||
+ | |||
+ | ===== Directory vs File Names ===== | ||
+ | |||
+ | It is often impossible to tell whether a pathname refers to a file or to a directory. For example, the Linux pathname ''/ | ||
+ | |||
+ | If you wish to explicitly indicate that a pathname refers to a directory, append a slash or backslash to the pathname. | ||
===== Volume Designators | ===== Volume Designators | ||
Line 203: | Line 209: | ||
^ Description ^ Linux Command ^ Windows Command ^ Notes ^ | ^ Description ^ Linux Command ^ Windows Command ^ Notes ^ | ||
- | | Make Directory | mkdir // | + | | Make a Directory | mkdir // |
- | | Remove (Empty) Directory | + | | Remove |
| Change (Working) Directory | cd // | | Change (Working) Directory | cd // | ||
| Print Current Working Directory | pwd | cd | | | | Print Current Working Directory | pwd | cd | | |
ops102/filesystem_basics.1714771217.txt.gz · Last modified: 2024/05/04 01:20 (external edit)