Beware of shell globs
A very short article on dangerous of shell globs expansion and why we should use -- when invoking command.
On this same topic, another great post is A Surprisingly Common Mistake Involving Wildcards & The Find Command explain why using * is dangerous and why we should wrap into quote like "*".
Appears in lists (1)
More like this (3)
Shell productivity tips and tricks This is part of a self-published book project by Balthazar Rouberol...Shell productivity tips and tricks This is part of a self-published book project by Balthazar Rouberol and Etienne Brodu. If you spend a good chunk of your day repeatedly hitting the left and right arrow keys to navigate in long commands or correct typos, or hitting the up or down arrow keys to navigate your command history, this chapter should help you get more done quicker.
No Really, Python’s Pathlib Is Great Python 3’s pathlib module has taken some time to gain...No Really, Python’s Pathlib Is Great Python 3’s pathlib module has taken some time to gain traction since it was introduced in Python 3.4. After all, the os.path module had been the de facto tool for working with paths in Python. Why change code that works? Learn why pathlib is a better choice for working with file paths in Python in this thorough tutorial. REDOWAN DELOWAR • Shared by Redowan Delowar