On Sat, 06 Jul 2019 07:54:08 +0100, ra...@inputplus.co.uk said:

> Having an unnoticed option can be the cause of awkward bugs

Try this:

$ ls
[directory listing]
$ ls *
[same directory listing]
$ touch -- -l # make a file called '-l'
$ ls *
[long directory listing as file '-l' is interpreted as an option

Now, imagine a file called ' -rf' and how that might impact an 'rm'
command.
-- 
Linux Tips:     https://www.tiger-computing.co.uk/category/techtips/

-- 
  Next meeting: BEC, Bournemouth, Tuesday, 2019-08-06 20:00
  Check to whom you are replying
  Meetings, mailing list, IRC, ...  http://dorset.lug.org.uk/
  New thread, don't hijack:  mailto:dorset@mailman.lug.org.uk

Reply via email to