-
Junior Member
Absolute path and Relative path
In UNIX Show me a example that contains what is your absolute path, relative path.
-
Junior Member
Re: Absolute path and Relative path
absolute path: It means Direct path,
relativePath:It means indirect path
-
Junior Member
Re: Absolute path and Relative 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.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules