this post was submitted on 16 Feb 2024
645 points (100.0% liked)
196
16442 readers
1715 users here now
Be sure to follow the rule before you head out.
Rule: You must post before you leave.
founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
In 20+ years of linuxing, I've never thought about putting the f first until now.
Imagine my mixed emotions when I’ve been doing ‘ls -la’ since I remember and watch someone do ‘ls -al’.
I cut my teeth on DOS. I use dir instead of ls. Please don't shame me.
I always do - lha or -la, but sometimes I did -a and I want the L, so I reuse the old command and add a l, making it -al.
I use -al because it's in alphabetical order and reminds me of "all".
I always put the f last, as in first the whole command, then go back and write the -rf, just because if I accidentally press enter I don't want an uncompleted path to be destroyed.