Solved

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

Posted on 2009-07-14
2
245 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Use Case: Protecting a Hybrid Cloud Infrastructure

Microsoft Azure is rapidly becoming the norm in dynamic IT environments. This document describes the challenges that organizations face when protecting data in a hybrid cloud IT environment and presents a use case to demonstrate how Acronis Backup protects all data.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Samba Question 11 108
check the file dates in unix 14 31
Windows 10 linux VM 18 43
How to fix Dual Server Conflict GitLab vs Apache2 3 23
The purpose of this article is to demonstrate how we can upgrade Python from version 2.7.6 to Python 2.7.10 on the Linux Mint operating system. I am using an Oracle Virtual Box where I have installed Linux Mint operating system version 17.2. Once yo…
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…
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.
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial

730 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