console commands - is it possible

wylix wrote on Thu Jun 12 08:19:07 MEST 2008:
Is it possible to use linux console command with epic perl for example:

#!/usr/bin/perl  -w
my $today = `date +%y%m%d`; 
print $today;

I use perl installed with cygwin and I want to have access to linux commands
like rm, mv, cp, date and so on but I get error while running it: Can't
exec "date": No such file or directory at /cygdrive/c/Documents and Settings/Jarek/workspace/
line 12.

Note: The above is an archived snapshot of a forum thread. Use the original thread at to post comments.