or download this
$ perl -MPath::Class -wle 'my $path = shift; my $obj = file($path); pr
+int +(File::Spec->splitpath($obj))[-1]' /etc/httpd/conf/httpd.conf
httpd.conf
$ perl -MPath::Class -wle 'my $path = shift; my $obj = dir($path); pri
+nt +(File::Spec->splitpath($obj))[-1]' /etc/httpd/conf
conf