Something I feel I ought to know for sure: if I
ls <something>, will
rm <something> remove exactly the same files that
ls displayed? Are there any circumstances where
rm could remove files that
ls did not show? (This is in the 18.04 bash)
Edit: thank you to everyone who answered. I think the full answer is a combination of all the answers, so I have accepted the most up-voted answer as "the answer".
Unexpected things I have learned along the way:
lsis not as straightforward as you might think in its handling of its arguments
- In a simple un-fiddled-with installation of Ubuntu, .bashrc aliases
- Don't name your files beginning with a dash as they can look like command arguments, and naming one -r is asking for it!