Hey bro,
hackwifi is not a command.I believe it is just explaining what this command “besside-ng wlan0” do. “besside-ng wlan0” is the command.
The command syntax should be - besside-ng options interface
eg.
besside-ng -W wlan0
You can check out the Besside-ng usage here - https://www.aircrack-ng.org/doku.php?id=besside-ng
I don’t get what your question is. If you want to make an alias for “besside-ng wlan0” you can follow this tut. But if you only want to use the command without an alias, just type besside-ng wlan0.
A shell alias is a shortcut to reference a command. It can be used to avoid typing long commands or as a means to correct incorrect input.
probably u didnt save the alias to alias file ,if u dont save it bash execute them only when bash is active when u close it they will be deleted so save them to alias file.
or chek if u have installed app.