How to include hyphen or dash ( - ) character as argument yes in Ubuntu?
In FreeBSD, I can do this:
$ yes "-tcp" | head -n 2 -tcp -tcp
But on Ubuntu, I get an error:
$ yes "-tcp" | head -n 2 yes: invalid option -- 't' Try `yes --help' for more information.
source share