Escaping "-" at the beginning of a file!
I'm trying to cp a file that begins with a "-".
But if I try to escape it by doing
cp \-\ blahblah.txt /var/ftp/
I get an error from cp saying I passed an illegal operation. I also tried doing
cp '- blahblah.txt' /var/ftp/
but to no avail. I'm using bash btw.