Solved

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

Posted on 2009-07-14
2
240 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

Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

Join & Write a Comment

If you use Debian 6 Squeeze and you are tired of looking at the childish graphical GDM login screen that is used by default, here's an easy way to change it. If you've already tried to change it you've probably discovered that none of the old met…
You ever wonder how to backup Linux system files just like Windows System Restore?  Well you can use Timeshift in Linux to perform those similar action.  This tutorial will show you how to backup your system files and keep regular intervals. Note…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

760 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

19 Experts available now in Live!

Get 1:1 Help Now