Bash ~ Perl ~ Python ~ Batch ~ Ruby
Sunday, 14 April 2013
Changing Directory
chdir("/etc");
@s=readpipe(ls);
for($i=0;$i<@s;$i++)
{
push(@e,$s[$i]);
}
for($i=0;$i<@e;$i++)
{
print $e[$i]."\n";
}
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment