#!/usr/bin/perl -w use strict; use File::Basename; my $dir = "/usr/bin/mighty/long/path/perl"; my $end = basename($dir); while ($dir ne "/" and $dir ne "") { print "$dir $end\n"; $dir = dirname($dir); $end = basename($dir); }
| grep> chown linux:users /world |
In reply to Re: Abs directory turned into links
by grep
in thread Abs directory turned into links
by einerwitzen
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |