this post was submitted on 16 Feb 2024
622 points (100.0% liked)

196

16484 readers
1940 users here now

Be sure to follow the rule before you head out.

Rule: You must post before you leave.

^other^ ^rules^

founded 1 year ago
MODERATORS
 

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

Linux Best Practices

you are viewing a single comment's thread
view the rest of the comments
[–] downhomechunk@midwest.social 25 points 9 months ago (2 children)

In 20+ years of linuxing, I've never thought about putting the f first until now.

[–] admin@sh.itjust.works 2 points 9 months ago (3 children)

Imagine my mixed emotions when I’ve been doing ‘ls -la’ since I remember and watch someone do ‘ls -al’.

[–] downhomechunk@midwest.social 2 points 9 months ago

I cut my teeth on DOS. I use dir instead of ls. Please don't shame me.

[–] nickwitha_k@lemmy.sdf.org 1 points 9 months ago

I use -al because it's in alphabetical order and reminds me of "all".

[–] fushuan@lemm.ee 1 points 9 months ago

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.

[–] fushuan@lemm.ee 1 points 9 months ago

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.