The cat command should be in your root bin directory (/bin/cat) - you can use the 'whereis' command to find the binaries and man pages for a command.
An absolute path leads with a '/' and designates a directory starting from the root structure (top of the filesystem). It will be the same no matter what. A relative path, however, varies, depending on when and where it is used. It generally looks something like 'bob/stuff' - no backslash to begin it. If you're in the directory 'home' and execute the command 'cd bob/stuff', it will look for the directory 'bob' and then 'stuff' starting in the directory 'home' [the one you're in]. If you execute the command 'cd /bob/stuff', it will look for the directory 'bob' and then 'stuff' starting from the root directory (/).
Last edited by Tarrin; 02-14-2005 at 07:34 PM.
|