Network
Main Commands
Section titled “Main Commands”| Command | Description | Example |
|---|---|---|
ping | Test connectivity to an address | ping google.com |
curl | Perform an HTTP request | curl https://example.com |
wget | Download a file | wget https://example.com/file.zip |
ssh | Connect to a remote server | ssh user@server.com |
Practical Example
Section titled “Practical Example”ping -c 4 google.comcurl -I https://openai.comBest Practices
Section titled “Best Practices”- Use
ping -c <count>to limit the number of attempts. - Check HTTP headers with
curl -I. - Use
ssh-keygento set up key-based authentication for passwordless login.