Got a file, but only interested in the last part? Then you can 'tail' 🤔 But wha...

@mboelen@mastodon.social

Got a file, but only interested in the last part? Then you can 'tail'

🤔 But what if you want to reverse a full file or a part of it?

🤝 Meet 'tac', yes, the reverse of 'cat'

Combine it with tail to only show the last part of a file, then pipe it through tac to reverse it.

#Linux #LinuxTips #cli #terminal