netscript command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
netscript: command not found
or when using sudo you get the following error message
sudo: netscript: command not found
Solutions to netscript: command not found
How To Fix netscript: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu netscript is provided by netscript-ipfilter package.
netscript-ipfilter is:
This is a cut down version of netscript-2.4, which is just the ipfilter iptables/ip6tables management implementation. This provides iptables and ip6tables management with a cyclic backup history, via iptables-restore and iptables-save.
This is designed to work with ifupdown, and is better than iptables-persistent as you can roll back filter changes if you have made a mistake.
To fix this problem, we can install more using the command below.
sudo apt-get -y install netscript-ipfilter
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install netscript-ipfilter.
sudo apt -y install netscript-ipfilter
Or if you have aptitude installed you can use the following command.
sudo aptitude install netscript-ipfilter
Summary
In this tutorial we learn how to fix netscript command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.