How to reverse a string in unix?

echo "hello" | rev

Output'-
 
Olleh


rev:- this function is in built function in Linux/Unix shell

Post a Comment

If you have any doubts, Please let me know
Thanks!

Previous Post Next Post