Multiple choice technology operating systems

how will u execute a file in unix?

  1. . filename

  2. ./<filename>

  3. . &lt;filename>

  4. / filename

Reveal answer Fill a bubble to check yourself
B Correct answer
Explanation

To execute a file in Unix, use './' which tells the shell to look for the file in the current directory. The '.' represents the current directory. '. filename' sources the file (runs it in the current shell context), '/ filename' is invalid syntax, and '. \' is also incorrect.