Ubuntu: awk: unknown option -w ignored


I came across this forum, and saw this answer, and though "Hey, this looks cool!".

After trying the commands, I received this error:

maliciouzzhd@ubuntu$ awk -W interactive '$0="maliciouzzhd: "$0' | nc 1234  awk: unknown option -W ignored    awk: can't open file $0="maliciouzzhd: "$0   source line number 1  

If anyone knows how to fix this error, this would be fantastic!


-W is a mawk option, and you maybe using gawk (GNU awk). Run the command with mawk -W .... mawk is installed by default, but if gawk is installed, it becomes the default awk.

Note:If u also have question or solution just comment us below or mail us on toontricks1994@gmail.com
Next Post »