Ubuntu 面接の質問と回答
質問 21. What is the purpose of the 'tar' command?
The 'tar' command is used for compressing and archiving files and directories.
Example:
tar -cvzf archive.tar.gz /path/to/directory
役に立ちましたか?
コメントを追加
コメントを見る
質問 22. How do you add a user to a group in Ubuntu?
You can add a user to a group with the 'usermod' command. For example: sudo usermod -aG groupName username
役に立ちましたか?
コメントを追加
コメントを見る
質問 23. Explain the purpose of the 'journalctl' command.
The 'journalctl' command is used to query and display messages from the journal, managed by 'systemd'.
Example:
journalctl
役に立ちましたか?
コメントを追加
コメントを見る
質問 24. How do you find the process ID (PID) of a running process in Ubuntu?
You can use the 'pgrep' or 'ps' command to find the PID of a running process.
Example:
pgrep processName
役に立ちましたか?
コメントを追加
コメントを見る
質問 25. What is the purpose of the 'apt-cache' command?
The 'apt-cache' command is used to query and display information about packages in the APT cache.
Example:
apt-cache show packageName
役に立ちましたか?
コメントを追加
コメントを見る
ユーザー評価で最も役立つ内容:
- 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?