Jano Svitok
7/11/2007 3:02:00 PM
On 7/11/07, Jeffrey Bowen <ja_bowen@yahoo.com> wrote:
> I've ran a search in ruby-talk but I couldn't find an
> answer so...
>
> Can I run a linux command inside a ruby program. Like
>
> history
> => 63 history
> history -d63
You are probably looking for `` or Kernel#system.
for example: puts `ls /etc`