Here are some Linux Interview questions. Good luck!
- How to check if any application is listening on port 80?
- How to list all the environment variables?
- How to list all the variables, including all local variables?
- How to reference a variable?
- How to print the value of a particular variable?
- How to set an environment variable? How to export it to the global environment (available to other processes). How should variable be enclosed if it contains spaces?
- How to set a local variable?
- Where are local variables available?
- How to unset a local variable?
- In which directory to place application's source code? (What shall be a destination for COPY of the source code when building a Linux-based Docker image?)
- How to edit a file if vi, vim, gedit etc...are not available?
- How to list all users on the system?
- To be continued...
No comments:
Post a Comment