LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   RPM Spec file creation, %files section question (https://www.linuxquestions.org/questions/linux-software-2/rpm-spec-file-creation-files-section-question-158674/)

davidas 03-16-2004 07:08 PM

RPM Spec file creation, %files section question
 
Under the %files section, how do I know what are the files (with their complete path) to be listed here? Eg.

Thanks !
PS. What's the difference between running this command

ls -l && cat somefile

and

ls -l ; cat somefile

They seem to give the same output.

thangam 09-13-2007 02:26 AM

ls -l && cat somfile --> "cat somefile" will execute only when "ls -l" is success otherwise "cat somefile" will not execute --this is called as condional execution.

ls -l ; cat somefile --> This does excute the commands consequently.without looking for regard less of 1st sucess or failure.

Thankx
Arun


All times are GMT -5. The time now is 04:56 PM.