InterviewSolution
| 1. |
Explain working of env command. |
|
Answer» “env” command is basically a shell command that is used to print a list of current environmental variables. Here, “env” stands for the environment. It can also run another process in another environment without any modification of the current environment. It ALLOWS you to run programs in a modified environment. It is generally used by shell SCRIPTS to launch the correct interpreter. It can also be useful for checking if wrong environment variables prevent the APPLICATION from starting during TROUBLESHOOTING. |
|