how will u execute a file in unix?
-
. filename
-
./<filename>
-
. <filename>
-
/ filename
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.