LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Hi plz help me again (https://www.linuxquestions.org/questions/linux-newbie-8/hi-plz-help-me-again-458402/)

rammu_sivraj 06-26-2006 07:14 AM

Hi plz help me again
 
Hi.,
i wrote a script to generate the file system packages,software packages etc..
But while viewing the output..its not an user friendly one..i can only able to view the last line of the output..
how can i modify the script in such a way that i can view the output line by line r page by page by hitting return key r something
I tried doContinue.,more.. but its not so efficient

b0uncer 06-26-2006 07:17 AM

Try piping the output through more or less?

Code:

sh yourscript.sh | more

rammu_sivraj 06-26-2006 07:36 AM

Quote:

Originally Posted by b0uncer
Try piping the output through more or less?

Code:

sh yourscript.sh | more

how can i modify the script so that anyone can execute my script and can view without any problem
plz help

pixellany 06-26-2006 07:51 AM

Quote:

Originally Posted by rammu_sivraj
how can i modify the script so that anyone can execute my script and can view without any problem
plz help

Set the permissions (chmod)
"man chmod" for the details


All times are GMT -5. The time now is 06:46 PM.