Scivantage Interview Question

Linux commend line, how to reverse a string