• Skip to main content

Uly.me

cloud engineer

  • Home
  • About
  • Archives

version

Netstat

March 3, 2020

Netstat is a utility for gathering network statistics. It comes preinstalled on most systems.

If missing, here’s how to install.

# Redhat, CentOS
yum install net-tools
# Debian, Ubuntu, Mint
apt install net-tools
# SLES, SUSE
zypper install net-tools

# Redhat, CentOS yum install net-tools # Debian, Ubuntu, Mint apt install net-tools # SLES, SUSE zypper install net-tools

Here are some common and useful commands.

# show version
netstat -v
# show routing table
netstat -nr
# show network interface statistics
netstat -ai
# show network connections
netstat -ant
# show network services
netstat -tulpn

# show version netstat -v # show routing table netstat -nr # show network interface statistics netstat -ai # show network connections netstat -ant # show network services netstat -tulpn

Filed Under: Linux Tagged With: interface, netstat, network, routing, services, statistics, version

Which Java Version

December 13, 2019

Here’s a quick way how to find which Java version you are running.

which java
java -version

which java java -version

Filed Under: Linux Tagged With: java, version, which

Get Apache Version

December 3, 2014

To find out what version of Apache running on your server, type the following.

Ubuntu-based distros

apache2 -V

apache2 -V

Debian-based distros

apachectl -V

apachectl -V

Redhat-based distros

httpd -V

httpd -V

Filed Under: Linux Tagged With: apache, version

  • Home
  • About
  • Archives

Copyright © 2023