In UNIX Show me a example that contains what is your absolute path, relative path.
Printable View
In UNIX Show me a example that contains what is your absolute path, relative path.
absolute path: It means Direct path,
relativePath:It means indirect path
at ur prompt execute
pwd
it will print your current working directory say /mna/users
now u want to access file say /mna/users/bsp/hello.sh
so u can do it in two ways :
1.absolute path : more /mna/users/bsp/hello.sh
so absolute path means full path of file or directory starting with "/" root of directory structure
2.relative path : more bsp/hello.sh
or more ./bsp/hello.sh
so relative path means file hierarchy with respect to pwd.