Last Updated: February 25, 2016
·
402
· nlingutla

Shell Commands in Ruby

Just write the command enclosed by Grave Accent symbol( ` ) and ruby will recognize it as a shell command. For example `date +%H`