Do you want BuboFlash to help you learning these things? Or do you want to add or correct something? Click here to log in or create user.



Question
In Linux, if you want to run an exectutable, called "test", from the current directory, why must you must run it as ./test and not just test?
Answer
Becuase the current directory, i.e. ".", is not included as one of the directories in the PATH, due to security reasons.

Question
In Linux, if you want to run an exectutable, called "test", from the current directory, why must you must run it as ./test and not just test?
Answer
?

Question
In Linux, if you want to run an exectutable, called "test", from the current directory, why must you must run it as ./test and not just test?
Answer
Becuase the current directory, i.e. ".", is not included as one of the directories in the PATH, due to security reasons.
If you want to change selection, open document below and click on "Move attachment"

4. Basic Commands
f four or more directories. Note that the current directory . is not listed. It is important that the current directory not be listed for reasons of security. Hence, to execute a command in the <span>current directory, we hence always ./<command> . To append, for example, a new directory /opt/gnome/bin to your PATH , do PATH="$PATH:/opt/gnome/bin" export PATH LINUX supports the convenience of d

Summary

statusnot learnedmeasured difficulty37% [default]last interval [days]               
repetition number in this series0memorised on               scheduled repetition               
scheduled repetition interval               last repetition or drill

Details

No repetitions


Discussion

Do you want to join discussion? Click here to log in or create user.