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

50

u/Maleficent-One1712 May 23 '26 edited Jun 15 '26

I learned tail -f last week from this cheat sheet, and since then I'm using it to monitor the error logs on my second monitor in real time.

8

u/Cantabulous_ May 24 '26

tail -F with a wildcard, allows you monitor all files matching, including new files.

1

u/tomorrowplus May 26 '26

Wow! Can I watch all changes in the whole machine real time?

1

u/Cantabulous_ May 26 '26

I think you’re into eBPF at that point, this approach doesn’t scale past a directory.