Rule for Beginners
Rule for Beginners
cross-posted from: https://lemmy.dbzer0.com/post/14479799
Linux Best Practices
You're viewing a single thread.
In 20+ years of linuxing, I've never thought about putting the f first until now.
26 0 ReplyImagine my mixed emotions when I’ve been doing ‘ls -la’ since I remember and watch someone do ‘ls -al’.
2 0 ReplyI cut my teeth on DOS. I use dir instead of ls. Please don't shame me.
2 0 ReplyI use -al because it's in alphabetical order and reminds me of "all".
1 0 ReplyI 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.
1 0 Reply
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.
1 0 Reply