Skip to content

zacyagi/471-linux-commands

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 

Repository files navigation

471-linux-commands

Command Description Screenshots
ping A network utility used to test the reachability of a host on an Internet Protocol (IP) network. image
curl A command-line tool for transferring data specified with URL syntax. image
httpie A user-friendly command-line HTTP client for sending HTTP requests. image
wget A command-line utility for downloading files from the web. image
tc A tool used to configure Traffic Control in the Linux kernel. image
whois A utility that retrieves domain registration information from WHOIS servers. image
ssh Secure Shell protocol for secure remote login and other secure network services. image
scp Secure Copy Protocol for securely transferring files between a local and a remote host. image
rsync A utility for efficiently transferring and synchronizing files between two locations. image
ngrep A network packet analyzer that allows you to search for patterns in network traffic. image
tcpdump A command-line packet analyzer used to capture and display TCP/IP packets. image
wireshark A graphical network protocol analyzer for analyzing and troubleshooting networks. -
tshark A command-line version of Wireshark for capturing and analyzing network packets. -
tcpflow A program that captures data transmitted as part of TCP connections. image
ifconfig A command-line utility to configure network interfaces on Unix-like operating systems. image
route A command-line tool to view and manipulate the IP routing table. image
nmap A network scanning tool for discovering hosts and services on a computer network. image
iptables A user-space utility program that allows a system administrator to configure the IP packet filter rules of the Linux kernel firewall. image
nftables A subsystem of the Linux kernel providing filtering and classification of network packets. image
openssl A toolkit for the Transport Layer Security (TLS) and Secure Sockets Layer (SSL) protocols. image
import argparse
import subprocess
# Send ping for 5 seconds.
def ping_website(website):
    try:
        result = subprocess.run(['ping', '-c', '5', website], stdout=subprocess.PIPE, stderr=subprocess.PIPE, text=True)
        return result.stdout
    except Exception as e:
        return f"Hata: {e}"

if __name__ == "__main__":
    parser = argparse.ArgumentParser(description="Send")

    parser.add_argument("website", help="Web Url")

    args = parser.parse_args()

    ping_result = ping_website(args.website)
    print(ping_result)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published