var sidebar_align = 'right';
var content_container_margin = parseInt('290px');
var sidebar_width = parseInt('270px');
Unanswered: how to get file name in given listing
i writing script which includes getting files in directroy with path.
storing in file.
for some instance i need only filename , how can i extract from it.
is there any way to get only file name if i use command like
ls -al a/b/c/xyz.jar
i want only file name to be displayed not the path of file. pls help me...
Last edited by mariadasun; 11-19-04 at 02:36.
Reason: question was wrong
briefly I can tell you to use the command basename, e.g.
and the result will be: myscript.sh
in a short fome you can do:
I hope it works for you.