Sponsored Content
Top Forums Shell Programming and Scripting Show pages on a script's big output Post 302437732 by iga3725 on Friday 16th of July 2010 03:49:46 AM
Old 07-16-2010
Show pages on a script's big output

Hi again:

I have this code which gives an large output(several screens), and I want to display on screen at a time (like more does)....how can I do this?

Code:
echo
echo "Los roles en el sistema son:"
echo
lsrole -a dfltmsg ALL|sed 's/dfltmsg=/Descripcion=/'


thanks
Israel.

Last edited by Scott; 07-16-2010 at 06:53 AM..
 

8 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

echo doesnot show output

hi every one , i m new in unix . i m trying shell scripting . set v = abc echo $v but it does not show any output . please help me (4 Replies)
Discussion started by: samy123
4 Replies

2. Shell Programming and Scripting

Help required to parse Oracle imp show=y output to DDL Commands

Hi, I generated an Oracle schema DDL script file using the show=y option of the Oracle import utility but the file that it generates needs a little more formating before we can run this as simple DDL comands to generate the schema at Target using the script file.Here is the simplified output of... (1 Reply)
Discussion started by: rajan_san
1 Replies

3. Shell Programming and Scripting

Compact 3-D output from a big input like:

Hi Experts!!!! Tried a lot but in vein,no success, please help to achieve this LOGIC behind is first field is reffrance row field, the second field shoud be made titles of coulmn and the the third field is made as matrix value. And if they dont match the matrix value should be 0. (Unix (Shell,... (1 Reply)
Discussion started by: ashis.tewari
1 Replies

4. UNIX for Advanced & Expert Users

prtdiag -v show no output

Dear All....Help required prtdiag -v command shows no output on my V440 server. Following is the details: root@sdp16b>prtdiag -v root@sdp16b> root@sdp16b>uname -a SunOS sdp16b 5.9 Generic_122300-31 sun4u sparc SUNW,Sun-Fire-V440 root@sdp16b>echo $path /usr/sbin /usr/bin /usr/sbin... (6 Replies)
Discussion started by: Junaid
6 Replies

5. Shell Programming and Scripting

Two files one file is dependent and it does not show an output

xxxxx (2 Replies)
Discussion started by: vinayrao
2 Replies

6. Shell Programming and Scripting

Bash script show Kill system output

Hi we are calling kill -9 $pid command from bash script it gives below output, but we need to hide the output. i tried /dev/null but ni luck. is there any alternate way to schive this. ../kill_scr.sh: line 42: 1891 Killed /tmp/anr_rest_mul_wc.sh Soalris 10. ... (2 Replies)
Discussion started by: sachinbutala
2 Replies

7. Shell Programming and Scripting

Script that will show output starting from 24-hours earlier to present

Hi Guys, Good day! I hope you could help me on this, I have a file that conatins output upon executing cat /var/log/messages, then what I want is to get the logs that has been generated only starting from 24-hours earlier at the time of actual execution of the script. Is this possible? Best... (9 Replies)
Discussion started by: rymnd_12345
9 Replies

8. Solaris

Solaris 11 man pages won't show on CLI

Hello guys, I am a newbie. Just freshly installed Solaris 11. When I try to type for example root@t1000:~# man zpool It says bash: man: command not found. It used to show manual pages before installation. Any help is appreciated. Thanks. (5 Replies)
Discussion started by: nazimbilir
5 Replies
sax2(1) 							Utils for X-Window							   sax2(1)

NAME
xquery - query the X-Server for a various set of information SYNOPSIS
xquery [ options ] DESCRIPTION
xquery is used to obtain/set special information from/to the X-Server like new modeline timings to change size and position of the picture or check for active number of screens... see the options chapter to get an overview of what xquery can do COMMAND LINE OPTIONS
Available command line options are the following: -s Get number of available screens. -a "screen timing" Apply new modeline timing to the X-Server which may change the current geometry of the picture. The option -a takes only one parame- ter which is a string containing the screen and timing information. Every value of the parameter is seperated by a single space, screen define which screen should be used to apply the new timing and timing specify the new timing values. Timing parameters are the following: 1. Horizontal display value 2. Number of horizontal ticks before vsync-start 3. Number of horizontal ticks until vsync-end 4. Total number of horizontal ticks 5. Vertical display value 6. Number of vertical ticks before vsync-start 7. Number of vertical ticks until vsync-end 8. Total number of vertical ticks -m Obtain currently used modelines for all screens -r Obtain currently used resolutions for all screens -y Obtain sync ranges from the active configuration for all screens -n screen Switch to next mode of the given screen, according to Modes configuration parameter which is located within the screen section of the /etc/X11/xorg.conf -p screen Same as option -n except switching to the previous mode. -d display Set basic display to use. Specify only the major display number without any screen information because the number of screens are acounted from xquery itself. -c Get current color depths for all screens. -f Get current used frequencies for all screens. -M Get middle point coordinates of all screens. -S Get screen number of the screen the mouse is currently over. -R "screen text" Show XFT rendered string on a specific screen. NOTE
xquery take care about Xinerama sessions. This means even if you have only one big screen, xquery will know about the single screens build- ing this big screen. Unfortunately there are Xinerama or similar extensions built into binary drivers like nvidia which are not handled correctly via xquery. AUTHORS
Written by Marcus Schafer REPORTING BUGS
Report bugs to <bugzilla.novell.com>. COPYRIGHT
Copyright (C) 2005 SuSE Linux Products GmbH, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 3rd Berkeley Distribution March 15, 2005 sax2(1)
All times are GMT -4. The time now is 08:16 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy