Rule for Beginners

Wugmeister@lemmy.dbzer0.com to 196@lemmy.blahaj.zone – 642 points –

cross-posted from: https://lemmy.dbzer0.com/post/14479799

Linux Best Practices

61

You are viewing a single comment

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 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 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.