问题 20
Explain the purpose of the 'iptables' command.
'iptables' is used to set up, maintain, and inspect the tables of IP packet filter rules in Linux.
问题 21
How do you find files larger than a specific size in Linux?
The 'find' command with the '-size' option can be used to find files larger than a specified size.
问题 22
What is a daemon in Linux?
A daemon is a background process that runs without direct user interaction.
问题 23
Explain the purpose of the 'chroot' command.
'chroot' is used to change the root directory for a specified command or shell.
问题 24
How do you check the status of a service in Linux?
The 'systemctl' command is used to check the status of a service in Linux.
问题 25
What is a shell script in Linux?
A shell script is a series of commands written in a script file to be executed by the shell.
问题 26
Explain the purpose of the 'umask' command.
'umask' is used to set the default file permissions for newly created files.
问题 27
How do you create a swap file in Linux?
The 'dd' command and 'mkswap' command are used to create a swap file in Linux.
问题 28
What is the purpose of the 'crontab' command?
'crontab' is used to create, view, and edit cron jobs in Linux.
问题 29
How do you find all files modified in the last 7 days?
The 'find' command with the '-mtime' option can be used to find files modified within a specific time frame.
问题 30
Explain the purpose of the 'rsync' command.
'rsync' is used for file synchronization and transfer between systems.
问题 31
What is the purpose of the 'ldconfig' command?
'ldconfig' is used to configure dynamic linker run-time bindings.
问题 32
How do you create a hard link in Linux?
The 'ln' command is used to create hard links in Linux.
问题 33
Explain the purpose of the 'journalctl' command.
'journalctl' is used to query and display messages from the journal, managed by 'systemd-journald' service.
问题 34
What is the purpose of the 'crash' command in Linux?
'crash' is used to analyze the Linux kernel core dumps.
问题 35
How do you change the hostname in Linux?
The 'hostnamectl' command is used to change the hostname in Linux.
问题 36
Explain the purpose of the 'journalctl' command.
'journalctl' is used to query and display messages from the journal, managed by 'systemd-journald' service.
问题 37
What is the purpose of the 'crash' command in Linux?
'crash' is used to analyze the Linux kernel core dumps.
问题 38
How do you change the hostname in Linux?
The 'hostnamectl' command is used to change the hostname in Linux.
问题 39
What is the purpose of the 'journalctl' command.
'journalctl' is used to query and display messages from the journal, managed by 'systemd-journald' service.
问题 40
What is the purpose of the 'crash' command in Linux?
'crash' is used to analyze the Linux kernel core dumps.
问题 41
How do you change the hostname in Linux?
The 'hostnamectl' command is used to change the hostname in Linux.
问题 42
What is the purpose of the 'journalctl' command.
'journalctl' is used to query and display messages from the journal, managed by 'systemd-journald' service.
问题 43
What is the purpose of the 'crash' command in Linux?
'crash' is used to analyze the Linux kernel core dumps.