Linux Commands Flashcards
Lists files and directories in a directory. Understanding file permissions and ownership is crucial for securing Linux systems.
Is
Changes the permissions (read, write, execute) of files and directories. Proper permission settings are essential for securing sensitive files and restricting unauthorized access.
chmod
Changes the ownership of files and directories. Assigning appropriate ownership helps ensure that only authorized users have control over specific files and directories.
chown
Lists currently running processes. It allows you to monitor active processes on a Linux system and identify any suspicious or unauthorized activities.
ps
Displays real-time system resource usage, including CPU, memory, and process information. It helps monitor system performance and identify any unusual resource consumption that may indicate malicious activity.
top
Displays network connections, open ports, and related information. It allows you to identify active network connections, listening ports, and potential security risks.
netstat
Configures and manages firewall rules on a Linux system. It provides packet filtering and network address translation (NAT) capabilities to control network traffic and secure the system.
iptables
Captures and analyzes network traffic. It is a powerful command-line packet sniffer that helps monitor and troubleshoot network issues, as well as detect suspicious network activities.
tcpdump
Searches for files and directories within a specified location. It is useful for locating specific files, verifying file integrity, or identifying potentially malicious files.
find
Searches for specific text patterns within files or output. It allows you to search for keywords or patterns in log files, configuration files, or command output to identify potential security issues.
grep