When I try to run
nc -l 1337 -e /bin/bash, it says:
nc: invalid option -- e usage: nc [-46AacCDdEFhklMnOortUuvz] [-K tc] [-b boundif] [-i interval] [-p source_port] [--apple-delegate-pid pid] [--apple-delegate-uuid uuid] [-s source_ip_address] [-w timeout] [-X proxy_version] [-x proxy_address[:port]] [hostname] [port[s]]
I want to run commands remotely, but instead it just remotely prints text. Why is this not working and how can I fix it?