in the directory structrue, .. means one level down the tree, you probably knew that, but . means the directory you're currently in. You have to type ./command as root because as a protective measure root can only run commands in the directories listed in the path variable unless the path is included in the command. This way you can't be fooled into running a virus called "ls" that's in your current directory.
./command just means "run the command program located in the present working directory".
Hope that helps
Last edited by trallith; 11-22-2003 at 12:30 PM.
|