Ubuntu perguntas e respostas de entrevista
Pergunta 1. What is the default package manager in Ubuntu?
The default package manager in Ubuntu is APT (Advanced Package Tool).
Example:
sudo apt-get install packageName
Pergunta 2. How do you update the package list with APT?
You can update the package list with the command: sudo apt-get update
Pergunta 3. Explain the purpose of the 'sudo' command.
The 'sudo' command is used to execute a command with administrative privileges.
Example:
sudo commandToExecute
Pergunta 4. What is the purpose of the '/etc/apt/sources.list' file?
The '/etc/apt/sources.list' file contains a list of package repositories for APT.
Pergunta 5. How can you check the version of Ubuntu installed on your system?
You can check the Ubuntu version with the command: lsb_release -a
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?