Utilities installation and management

cURL

cURL is a command-line RESTful access utility. The following table lists useful installation and management commands.
Table 1. cURL commands
Command Description
sudo apt-get update Updates any dependency packages
sudo apt-get install curl Installs the latest cURL package, or specifies a previous version number
sudo apt-get upgrade curl Upgrades to the latest cURL package

Google-chrome

Google-chrome is a graphical user interface RESTful access utility. The following table lists useful installation and management commands

Table 2. Google-chrome commands
Command Description
sudo apt-get update Updates any dependency packages
sudo apt-get install google-chrome-stable Installs the latest Google-chrome package, or specifies a previous version number
sudo apt-get upgrade google-chrome-stable Upgrades to the latest Google-chrome package

ifconfig and route

The Ifconfig and route utility commands are available by default in the Ubuntu/Debian package, and can be used without any additional package installation. The following table lists useful command options.

Table 3. ifconfig and route command options
Command Description
ifconfig eth0 Net-IP-Addr netmask <Net-IP-Addr-Mask> Checks interface status and statistics
route add -net Net-IP-Addr netmask Net-IP-Addr-Mask gw Gw-IP Adds a route
route add default gw GW-IP Adds a default gateway

Ethtool

The Ethtool utility is used to get device information. The following table lists useful command options.

Table 4. Ethtool commands
Command Description
sudo apt-get update Updates any dependency packages
sudo apt-get install ethtool Installs the latest Ethtool package, or specifies a previous version number
sudo apt-get upgrade ethtool Upgrades to the latest Ethtool package

Tcpdump

Tcpdump is a command line utility that is used for packet capture by means of libpcap. The following table lists useful command options.

Table 5. Tcpdump commands
Command Description
sudo apt-get update Updates any dependency packages
sudo apt-get install tcpdump Installs the latest Tcpdump package, or specifies a previous version number
sudo apt-get upgrade tcpdump Upgrades to the latest Tcpdump package

Tshark

Tshark is a command line utility from the Wireshark community that is used for packet capture by means of libpcap. The following table lists useful command options.

Table 6. Tshark commands
Command Description
sudo apt-get update Updates any dependency packages
sudo apt-get install tshark Installs the latest Tshark package, or specifies a previous version number
sudo apt-get upgrade tshark Upgrades to the latest Tshark package

Wireshark

Wireshark is a GUI-based packet capture utility that is used for packet capture by means of libpcap. The following table lists useful command options.

Table 7. Wireshark commands
Command Description
sudo apt-get update Updates any dependency packages
sudo apt-get install wireshark Installs the latest Wireshark package, or specifies a previous version number
sudo apt-get upgrade wireshark Upgrades to the latest Wireshark package