Ubuntu Interview Questions and Answers
Ques 11. How do you find the IP address of your Ubuntu system?
You can find the IP address using the 'ifconfig' or 'ip addr' command.
Example:
ifconfig
Is it helpful?
Add Comment
View Comments
Ques 12. Explain the purpose of the '/etc/passwd' file.
The '/etc/passwd' file contains user account information, including usernames and user IDs.
Is it helpful?
Add Comment
View Comments
Ques 13. How do you search for a file in Ubuntu using the command line?
You can use the 'find' command to search for files. For example: find /path/to/search -name filename
Is it helpful?
Add Comment
View Comments
Ques 14. What is the purpose of the 'grep' command?
The 'grep' command is used to search for a specific pattern or text in files.
Example:
grep pattern filename
Is it helpful?
Add Comment
View Comments
Ques 15. How do you enable the UFW (Uncomplicated Firewall) in Ubuntu?
You can enable UFW with the command: sudo ufw enable
Is it helpful?
Add Comment
View Comments
Most helpful rated by users:
- What is the default package manager in Ubuntu?
- How do you update the package list with APT?
- How can you check the version of Ubuntu installed on your system?
- Explain the purpose of the 'sudo' command.
- What is the purpose of the 'grep' command?