LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-26-2006, 07:14 AM   #1
rammu_sivraj
LQ Newbie
 
Registered: May 2006
Posts: 15

Rep: Reputation: 0
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
 
Old 06-26-2006, 07:17 AM   #2
b0uncer
LQ Guru
 
Registered: Aug 2003
Distribution: CentOS, OS X
Posts: 5,131

Rep: Reputation: Disabled
Try piping the output through more or less?

Code:
sh yourscript.sh | more
 
Old 06-26-2006, 07:36 AM   #3
rammu_sivraj
LQ Newbie
 
Registered: May 2006
Posts: 15

Original Poster
Rep: Reputation: 0
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
 
Old 06-26-2006, 07:51 AM   #4
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809

Rep: Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743
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
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
PLZ, PLZ help - need some info kevmif Linux - General 9 12-17-2007 06:12 AM
plz plz help me regarding route mapping nedian123 Programming 1 07-13-2004 08:17 AM
plz plz solve my route mapping problem nedian123 Linux - Networking 1 07-12-2004 09:41 PM
plz, help me (plz realy ) h4ng4m3 Linux - General 10 08-18-2003 06:07 AM
redhat problems plz plz help sap666 Linux - Newbie 5 07-30-2003 10:57 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:30 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration