Search and explore various Linux commands.
Summarize the situation you want to resolve in up to 300 characters and ask the AI which commands you need.
Click on the desired category to filter the commands. You can also enter a keyword to search for specific content.
iptables: Linux Firewall Rule Management
iptables is a command-line utility that uses the Netfilter framework in the Linux kernel to configure and manage IPv4 packet filtering and NAT (Network Address Translation) rules. It allows you to control network traffic and enhance system security. iptables defines packet processing rules using the concepts of chains and tables.
iptables-apply: Safely Apply iptables Rules
iptables-apply is a utility for safely applying iptables firewall rules. If the connection is lost or not confirmed within a specified time (default 5 seconds) after applying new rules, it automatically rolls back to the previous rules, preventing situations where remote access is lost. This is particularly useful when changing firewall rules on remote servers.
iptables-restore: Restoring iptables Rules
The iptables-restore command is used to restore iptables (IPv4) or ip6tables (IPv6) rules previously saved by the `iptables-save` command. This allows you to maintain firewall rules after a reboot or easily apply backed-up rules.
iptables-save: Save iptables Firewall Rules
iptables-save is a command that dumps the IPv4 iptables firewall rules currently loaded in the kernel to standard output. This command is primarily used to save the currently configured firewall rules to a file for backup or to restore rules upon system reboot. It is used in conjunction with the `iptables-restore` command to manage the persistence of firewall rules.
mtr: Network Diagnostic Tool (Ping & Traceroute Combined)
mtr (My Traceroute) is a network diagnostic tool that combines the functionalities of ping and traceroute. It displays real-time packet loss and latency for each hop along the path from the source to the destination, making it highly useful for troubleshooting network issues.
nc: Network Connection and Listening
nc (netcat) is a versatile utility used to create network connections and read/write data using TCP or UDP protocols. It's often called the 'Swiss army knife of networking' due to its ability to perform various network tasks such as port scanning, file transfer, and setting up simple chat servers.
Netcat (nc) Command Guide
`netcat` or `nc` is a powerful command-line tool used for reading and writing network connections. It can perform various network tasks such as creating and receiving TCP or UDP connections, hence it is often referred to as the 'Swiss army knife of networking'. It is very useful for network debugging and management, including port scanning, file transfer, and building simple web servers.
netstat Command Guide: Checking Network Connections and Statistics (Legacy)
`netstat` command (network statistics) is used to display network connections, routing tables, interface statistics, masquerade connections, etc., in Linux and Unix-like operating systems. It is a useful tool for monitoring the network status of the system and troubleshooting issues. **However, in modern Linux systems, the `ss` (socket statistics) command has replaced `netstat`, providing faster and more powerful features. Therefore, the use of the `ss` command is recommended.** Use this guide to understand the basic usage of `netstat` and why you should transition to `ss`.
nmap: Network Scanning and Security Auditing
nmap (Network Mapper) is a powerful open-source utility for network discovery and security auditing. It provides a wide range of features including host discovery, port scanning, OS detection, and service version detection, making it essential for understanding network infrastructure and identifying potential security vulnerabilities.
nmcli: NetworkManager Command-Line Tool
nmcli is a command-line interface tool for controlling NetworkManager. It allows you to easily manage network connections, devices, Wi-Fi, and other network-related settings. It is very useful for automating and configuring networks in server environments or scripts.
nslookup: Querying DNS Servers
nslookup is a command-line tool used to query Domain Name System (DNS) servers to obtain domain name or IP address information. It supports both interactive and non-interactive modes, and you can also specify a particular DNS server for queries.
OpenSSH Client: A Suite of SSH Connection Tools
The OpenSSH client is an essential suite of tools used for securely connecting to remote servers, transferring files, and setting up secure tunneling. Based on the SSH (Secure Shell) protocol, it provides encrypted communication, ensuring data security.