LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   read filename from directory (https://www.linuxquestions.org/questions/linux-newbie-8/read-filename-from-directory-152710/)

newbielinux 03-02-2004 02:42 PM

read filename from directory
 
Hi All

Can I read filename from directory and store it in variable (maybe "var")...
and can use it later in some command like

rpmbuild -ba var

where "var" is variable having name of spec file...

Any ideas
Thanks

Tinkster 03-02-2004 03:46 PM

Quote:

Can I read filename from directory and store it in variable (maybe "var")...
and can use it later in some command like
Yes you can.



Cheers,
Tink

newbielinux 03-02-2004 03:48 PM

Quote:

Originally posted by Tinkster
Yes you can.



Cheers,
Tink

-Thanks


All times are GMT -5. The time now is 11:53 PM.