socklist command not found

In this troubleshooting guide we learn how to fix socklist command not found error message

Introduction

When you run more command in linux terminal / console, you get the following error message

socklist: command not found

or when using sudo you get the following error message

sudo: socklist: command not found

Solutions to socklist: command not found

How To Fix socklist: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu socklist is provided by procinfo package.

procinfo is:

This package provides three small programs that gather system information from diverse files under /proc and /sys and print it to the screen:

  • lsdev - information from /proc about installed hardware;
  • procinfo - system monitoring statistics from /proc and /sys;
  • socklist - a summary of open network sockets from /proc/net.

To fix this problem, we can install more using the command below.

sudo apt-get -y install procinfo

This command might take some time to finish depending on your machine internet connection.

You can also use apt command to install procinfo.

sudo apt -y install procinfo

Or if you have aptitude installed you can use the following command.

sudo aptitude install procinfo

Summary

In this tutorial we learn how to fix socklist command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.