Skip to main content

Command Palette

Search for a command to run...

Linux Networking Commands 2

New and Improved Article

Published
2 min readView as Markdown
S

Just a girl studying InfoSystems at the University of Utah.

I like learning about Linux and System Administration

Hey Hashnode!

Today I will be going over some more networking commands you can use in Linux

1. ss

The 'ss' command has replaced the netstat command. It is used to view network information. I know in my last article I included netstat but I only learned after it was deprecated!

2. ip

The 'ip' command has replaced ifconfig. It is used to display network interfaces.

depreceated.png

3. ping

Used to see if a host is reachable.

ping.png

4. dig

'domain information groper', used to get information about domain name servers.

dig.png

5. curl

Used to download files from the internet.

6. tcpdump

'tcpdump' is used to capture and display packages

7. hostname

'hostname' tells you the name of the host.

hostname.png

8. traceroute

The 'traceroute' command displays the route a packet took to reach the host.

tracerout.png

9. tracepath

'tracepath' is similar to traceroute but does not require superuser privileges.

tracehpath.png

10. finger

'finger' is used to view information about a logged in user.

finger.png

11. mtr

'ping' and 'traceroute' mixed into a single command.

12. nmap

'nmap' is used to scan a network and for open ports!

PLEASE NOTE: ONLY scan your own network. You can possibly get into trouble if you get caught someone else's network.

Here is more about this

https://www.mvorganizing.org/is-nmap-illegal/

Thank you for getting this far! I plan to post more linux, security, and system administration articles in the future. Stay tuned for them!

C

The finger command can also give information for logged-out users if you provide the username as an argument (includes the contents of the "~/.plan" file, "~/.project" file, or both [depending on which exists] in the long format output).

The pinky command (part of coreutils) is a lightweight local-only alternative to the finger command (pinky or pinky -l <username> for the long format [more in the man page]).

S

Curl can be used to call APIs as well

V

Great content 🤩 it helps me for my cert exam

D

I would say that wget is mainly used to download, since by default curl outputs in the console, and also wget has the ability to download recursively.

A

Thank you Sebina.

This is very useful.

1
M

Very useful resources for beginners, great work!

1

More from this blog

Linux for Beginners and More

11 posts

My name is Sebina and I'm studying Information Systems.