command which prints the content of a text file in reverse order

There is command which prints the content of a text file in reverse order, i.e. as given.

# cat kk.txt
Hello this is test
hi I am devotee of Radhey-Krishna
we are rocks

# cat tac
we are rocks
hi I am devotee of Radhey-Krishna
Hello this is test

Thats it!!

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s