Solved

how to control linux comman output by page/window when using modinfo and lsmod

Posted on 2009-07-14
2
241 Views
Last Modified: 2013-12-15
Hi,

I am using openfiler

I am getting too many results when I try modinfo and lsmod. Can I control the lines output of these commands. What I mean is if I can control getting 20 lines at once and hit enter and get another 20 lines.

Can I control the output by page/window? what I mean is if I can get a full window and click enter and get another full window?

if possible, please, provide  a sample using the commands.

thanks,
0
Comment
Question by:vielkacarolina1239
2 Comments
 
LVL 2

Accepted Solution

by:
onethreefour earned 500 total points
ID: 24856453
Just pipe it to 'more', you can do this with just about anything...

cat /var/log/messages | more
dmesg | more
modinfo | more

If you want to send the results of your 'command' to a file instead so you can then browse through it try:
dmesg > /home/me/file.txt
(a single > overwrites the file, a double >> appends to the file)
netstat >> /home/me/netstat.txt

0
 

Author Closing Comment

by:vielkacarolina1239
ID: 31603587
thanks,
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

1. Introduction As many people are interested in Linux but not as many are interested or knowledgeable (enough) to install Linux on their system, here is a safe way to try out Linux on your existing (Windows) system. The idea is that you insta…
I. Introduction There's an interesting discussion going on now in an Experts Exchange Group — Attachments with no extension (http://www.experts-exchange.com/discussions/210281/Attachments-with-no-extension.html). This reminded me of questions tha…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

910 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

23 Experts available now in Live!

Get 1:1 Help Now