bfs command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
bfs: command not found
or when using sudo you get the following error message
sudo: bfs: command not found
Solutions to bfs: command not found
How To Fix bfs: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu bfs is provided by bfs package.
bfs is:
bfs is a variant of the UNIX
find
command that operates breadth-first rather than depth-first.
It tries to be easier to use than find
, while remaining compatible with
find(1). For example, bfs is less picky about where you put its arguments.
bfs also adds some extra options that make some common tasks easier.
When bfs detects that its output is a terminal, it automatically colors its output with the same colors ls uses.
To fix this problem, we can install more using the command below.
sudo apt-get -y install bfs
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install bfs.
sudo apt -y install bfs
Or if you have aptitude installed you can use the following command.
sudo aptitude install bfs
Summary
In this tutorial we learn how to fix bfs command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.