Sponsored Content
Top Forums UNIX for Dummies Questions & Answers display command output page per page Post 302489013 by Mat_k on Wednesday 19th of January 2011 08:23:18 AM
Old 01-19-2011
display command output page per page

Good afternoon,

I wonder how i could use unix commands to ease the reading of long command result output ?
like the "php -i" or any other command that returns a long answer.

I could not find the right terms to Google it or search the forum. Therefore I bother you with this question.

if possible, I'd like to be able to read it like a 'man aProgram' entry.

I hope someone will help me with this question, that is not crucial but would still very helpful.

thanks
 

8 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Display result one page at a time

hi how can i display the result on the screen one page at a time? say i search for .txt files and return the result on the screen one page at a time. (4 Replies)
Discussion started by: nickaren
4 Replies

2. Solaris

Solaris 10 install doesn't display Network Connectivity prompt page

I have two Dell x86 machines on which I am attempting to install Solaris 10 from CD. I am not doing a Jumpstart install. This is my first experience in installing Solaris (or any other OS). I am following the instructions at How to Quickly Install the Solaris 10 1/06 OS The first machine... (3 Replies)
Discussion started by: sarahsi
3 Replies

3. Shell Programming and Scripting

lpr- how to print from page to page

hi all i have file_1 which contains 66 pages and i want to print only page 1 to 3 i try to write like this lp -d name_of_printer file_1 -P 1-7 this command does not work any ideas ? (4 Replies)
Discussion started by: naamas03
4 Replies

4. Solaris

High Page In and Executable page In

Hi, Currently I'm experience very high page ins on my system running on solaris 10. From vmstat, the page ins figure is very high, further drill down shows the page ins are from file system and occassional spike in executable page ins. Details as follow: oracle@perch:/files>> vmstat 5... (9 Replies)
Discussion started by: srage
9 Replies

5. Emergency UNIX and Linux Support

Grab total page read from webalizer display in html

Hi, I need a way to grab the total combines since inception, total pages read from webalizer on my centos server or any other location (as long as since inception) and display the result live on my website So with each visit it would be increasing, or perhaps live (ajax) not sure But can... (0 Replies)
Discussion started by: lawstudent
0 Replies

6. Web Development

Page load time- local page

Hi Is there a way to calculate the page load time, I am trying to calculate the load time of a page locally. I found tools to do this over http or https but none that work locally. Any ideas? Thanks. (4 Replies)
Discussion started by: jamie_123
4 Replies

7. Shell Programming and Scripting

Print multiple copies page by page using lp command

Hi I have a pdf file that is being generated using the rwrun command in the shell script. I then have the lp command in the shell script to print the same pdf file. Suppose there are 4 pages in the pdf file , I need to print 2 copies of the first page, 2 copies of the second page , then 2... (7 Replies)
Discussion started by: megha2525
7 Replies

8. Shell Programming and Scripting

script for adding page number before page breaks

Hi, If there is an expert that can help: I have many txt files that are produced from pdftotext that include page breaks the page breaks seem to be unix style hex 0C. I want to add page numbers before each page break as in : Page XXXX Regards antman (9 Replies)
Discussion started by: antman
9 Replies
ug_display_width(3C)													      ug_display_width(3C)

NAME
ug_display_width() - get current display width for user and group names SYNOPSIS
DESCRIPTION
The function returns the current display width for user and group names. This value determines how many bytes of a user or group name that system and conforming applications will display. On a system with long user and group names enabled, the default display width for the system is set with the command (see lugadmin(1M)). Users can override the default value by setting the environment variable to an integer value in the range to Application Usage System and conforming applications use the return value (current display width) for formatted output as follows: Long user and group names are not configured on the system. Display user and group names as per default settings. Long user and group name are enabled but display user and group names as per default settings. For user and group names longer (in bytes) than the default allowable length, truncate the name to the maximum default length and replace the last printed character with a plus sign If the name is longer (in bytes) than the current display width, truncate the name to this length (in bytes) and replace the last printed character with a plus sign EXTERNAL INFLUENCES
Environment Variables If it is set and long user and group names are enabled, it overrides the width that is specified by the command for all system and conforming applications that write formatted output. RETURN VALUE
returns one of the following values: Long user and group names are not enabled, or an internal error occurred. Long user and group names are enabled but set to default value. The current display width for long user and group names. WARNINGS
It is recommended that you do not modify the file directly. Doing so could cause incorrect behavior. FILES
If this file is present, the system is enabled for long user and group names; otherwise, it is not. This file contains the default display width, as set with the command. SEE ALSO
lugadmin(1M). ug_display_width(3C)
All times are GMT -4. The time now is 04:09 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy