Ubuntu perguntas e respostas de entrevista
Pergunta 26. Explain the purpose of the '/etc/hostname' file.
The '/etc/hostname' file contains the hostname of the system.
Pergunta 27. How do you check the Ubuntu release codename?
You can check the release codename with the command: lsb_release -c
Pergunta 28. What is the purpose of the 'systemctl' command?
The 'systemctl' command is used to control the 'systemd' system and service manager.
Example:
systemctl status serviceName
Pergunta 29. How do you check the CPU information in Ubuntu?
You can check CPU information using the 'lscpu' command.
Pergunta 30. Explain the purpose of the '/var/log' directory.
The '/var/log' directory contains log files generated by various system processes and services.
Mais uteis segundo os usuarios:
- 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?