difference between these commands??

Hi,
I would like to know what is the difference between executing the mount command in the following ways...

eg:
/usr/sbin/mount -F <something>
AND
mount -F <something>

I mean , just executing the mount command as opposed to specifying the path and then executing it?

Thanks

when you just issue the mount command the shell will look for the command mount in all the directories in the PATH variable and then execute the first "mount" it finds.

If you want to know what mount is executed when just typing mont you can check it with this command : type mount

(wil return the full path of the command)

/peter

Ok thanks :slight_smile:

but i still didnt get it...
when just specifying a mount will do the job, why is it that we need to traverse explicitly through the dirs then execute the command??
instead we can just specify the type of option needed, like mounting it as ufs or pcfs, so on..
:confused::confused: