User Tools

Site Tools


ops102:filesystem_basics

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
ops102:filesystem_basics [2024/05/03 21:20] – [Current Directory or Working Directory or Current Working Directory] chrisops102: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 ''/home/chris/presentation'' might refer to a file named ''presentation'' or to a directory named ''presentation''.
 +
 +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 //directory// | mkdir //directory// | | +| Make Directory | mkdir //directory// | mkdir //directory// | | 
-| Remove (EmptyDirectory | rmdir //directory// | rmdir //directory// | |+| Remove a Directory (Must be empty)| rmdir //directory// | rmdir //directory// | |
 | Change (Working) Directory | cd //directory// | cd //directory// | | | Change (Working) Directory | cd //directory// | cd //directory// | |
 | 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)

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki