Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
i m going through my rd9 cds for a particular rpm.
is there an equivalent dir /s [DOS] command in linux
i have gone through the ls man page but i did not see any resemblence
i know this must have been ask a million times, but i did i search in da forum n did not find any ???
Distribution: slackware 9.1, redhat 9.0, PHLAK, SuSE 9.0Pro windows XP (HEAVILY MODIFIED)
Posts: 111
Rep:
I know that dir works in console for linux but im not sure about the swith your using, in dos for dir i would type dir /p to scroll by the page and i havent figured out what command makes it do dir by the page maybe somone more learned would know
wat i m tryin to do is a search for all of the *.rpm/other files on my hdd
i will normally do a "dir /s *.bat" to list out all the *.bat files in the current dir and subdir
i tried using "ls -Rl *.rpm" but it does not work????
[root@cactuar /]# ls -Rl *.rpm
ls: *.rpm: No such file or directory
well i did ls *gif and it showed just the gif files. I don't understand what your trying to accomplish with the RI options. i don't see any of those options when i do man ls. So try just doing ls *rpm. I think what your doing is that ls is thiking your looking for -RI in a directory labeled *.rpm.
also if your looking for the rpms cuz you want to know what you have installed you can just do
rpm -qa
and that will list all the rpms you have installed. Or if you want to check for a specific program to see if it is installed you can do rpm -qa | grep "programname"
Last edited by dr_zayus69; 01-14-2005 at 12:58 AM.
wat i m tryin to do is jus list out all the files that ends with *.sh
it will search through the current dir and all the subdir and finally list out all the files that ends with .sh
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.