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`
Written by Nikhil Lingutla
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Ruby
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#