14

Simple Bash Script to Reverse Your Name and Output it

view full story
linux-howto

http://www.humans-enabled.com – Just a quick script to reverse some input, using Bash and the FOSS "rev" program. It's amazing how easy it is to manipulate things with Bash. I love it!#!/bin/bash #Simple script to reverse an input nameecho "Enter your name";read 'myname' echo "Your name spelled backwards is: $( echo $myname | rev )" exit 0 That's all there is to it!Amazing eh? (HowTos)