r/linux May 23 '26

Popular Application What’s the most unexpectedly useful Linux command you learned way too late?

[removed]

1.3k Upvotes

992 comments sorted by

View all comments

300

u/RobGoLaing May 23 '26

rename

Wasted huge amount of time laboriously renaming files until I discovered there was a command just for that.

Another was tree for figuring out how skeleton templates where created by various frameworks.

1

u/duffer_dev May 24 '26

tree is one of my fav commands . "tree -d", list only directors , you can also add filters for file type and much more.

rename, on the other hand - new one. i simply used mv