15
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
this post was submitted on 31 Jan 2025
15 points (100.0% liked)
Linux Mint
1916 readers
1 users here now
Linux Mint is a free Linux-based operating system designed for use on desktop and laptop computers.
Want to see the latest news from the blog? Set the Firefox homepage to:
where is a current or past release. Here's an example using release 21.1 'Vera':
https://linuxmint.com/start/vera/
founded 3 years ago
MODERATORS
be careful using
rm
in a loop and/or with variable arguments, things can go very wrong :)when i'm writing a complicated command line involving
rm
i often write and run it first withecho
in place ofrm
just to be sure i am getting the results i expect. also when i re-run it actually usingrm
, i tend to use the-v
option (which tellsrm
to print what it is doing) to reassure myself that i've just deleted what i wanted to and nothing else.Great tip, thank you!