what is the use of / in RhEL 5 ?
Last Updated on Friday, 01 April 2011 18:27 Saturday, 12 February 2011 05:01
Question:
what is the use of / in RhEL 5 ?
Answer:
Apart of the obvious use of / ( forward slash ) as a character, the forward slash represents a top of the file system hierarchy standard called root ( not to be mistaken with root superuser ) . Furthermore, a forward slash is used to separate directories during command line file system navigation.
Example /root/temp :
- first / represents top of the file system hierarchy standard
- second / points to a directory or file within /root/ directory which is in this case temp
There are some points to note from the above example:
- absolute path to a file or directory always begins with /
- if the example above is to be rewritten to /root/temp/ we can tell for certain that temp is a directory and not a file.
The use of forward slash is same for all UNIX like system not just for RHEL5.
Further readings:
















