07-17-2003
view page command?
Hi All,
When I run a command on any shell, many times the output is longer than the screen can hold, so I only can see parts of the output. Is there a command that will show me page by page the results of each command?
Thanks, Jared
8 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Is there a command that will show me all ports being used?
I thought maybe the "lsof" command would show me, but I'm not seeing anything.
Thanks,
Jeff (2 Replies)
Discussion started by: lawadm1
2 Replies
2. HP-UX
Hello All,
I Am A New Member To This Group.
Could you show me how to view all command was typed the same Redhat. Every I type arrow up and down to show the command was type but nothing to see. I must type it again. it is very slow.
Thanks
hoavn (4 Replies)
Discussion started by: hoavn
4 Replies
3. Shell Programming and Scripting
Hi! :)
Inside a bash script, I have an html page: "example.html"
I need:
- read "example.html.
- print and view the result for example with dillo (or another light browser) inside zenity with clickable images and links.
Some stuff like:
zenity --html-info --filename=example.html
Is... (0 Replies)
Discussion started by: aspire
0 Replies
4. UNIX for Dummies Questions & Answers
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.
... (3 Replies)
Discussion started by: Mat_k
3 Replies
5. UNIX for Dummies Questions & Answers
Hi,
One of our users has loads of jobs scheduled. When I do at -l I get a long list of tasks which end in .a
Is there anyway I can view what these commands will do? Also, What's the relationship between the 'at' function and the crontab? I can't see any entries in crontab....Cheers (4 Replies)
Discussion started by: Grueben
4 Replies
6. Shell Programming and Scripting
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
7. UNIX for Dummies Questions & Answers
Versions : RHEL 6.xx /OL 6.xx
I am trying to understand what a page is in Linux? The concept should be same in Unix as well, I guess
The below doc says "A page is a block of virtual memory. A typical block size on Linux operating system is 4KB "
... (4 Replies)
Discussion started by: kraljic
4 Replies
8. UNIX for Beginners Questions & Answers
I am trying to extract data from syslog and view it on a web page. I'm using a php script.
This line works from command line
tail -n 11 /var/log/_gateway-syslog.log | grep -a iWiSP-Out | awk '{print $8, $9,$10,$11" ",$19," " $15, $16,$17," " $18,$21, $22}'
when I put it into... (4 Replies)
Discussion started by: ae4ml
4 Replies
shell(1F) FMLI Commands shell(1F)
NAME
shell - run a command using shell
SYNOPSIS
shell command [command] ...
DESCRIPTION
The shell function concatenate its arguments, separating each by a space, and passes this string to the shell ($SHELL if set, otherwise
/usr/bin/sh).
EXAMPLES
Example 1: A sample output of shell command.
Since the Form and Menu Language does not directly support background processing, the shell function can be used instead.
`shell "build prog > /dev/null &"`
If you want the user to continue to be able to interact with the application while the background job is running, the output of an exe-
cutable run by shell in the background must be redirected: to a file if you want to save the output, or to /dev/null if you don't want to
save it (or if there is no output), otherwise your application may appear to be hung until the background job finishes processing.
shell can also be used to execute a command that has the same name as an FMLI built-in function.
NOTES
The arguments to shell will be concatenate using spaces, which may or may not do what is expected. The variables set in local environments
will not be expanded by the shell because "local" means "local to the current process."
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWcsu |
+-----------------------------+-----------------------------+
SEE ALSO
sh(1), attributes(5)
SunOS 5.10 5 Jul 1990 shell(1F)