Ubuntu вопросы и ответы для интервью
Вопрос 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
Вопрос 12. Explain the purpose of the '/etc/passwd' file.
The '/etc/passwd' file contains user account information, including usernames and user IDs.
Вопрос 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
Вопрос 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
Вопрос 15. How do you enable the UFW (Uncomplicated Firewall) in Ubuntu?
You can enable UFW with the command: sudo ufw enable
Самое полезное по оценкам пользователей:
- 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 'ls' command in Linux?