i look fo it, but nothing found:
i have a variable and want the reverse one
example
var1="test"
var2 will be "tset"
under linux shell i have no idea how to do this
i look fo it, but nothing found:
i have a variable and want the reverse one
example
var1="test"
var2 will be "tset"
under linux shell i have no idea how to do this
myvar="Hi there"
backwards=`echo "$myvar" | rev`
echo "$backwards"
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.