Skip to content

cant see all of lspci -v output.

i need to set up my kernel but to do that i need to see the output of lspci -v theres a long out put so it goes off the screen and i cant scroll up (no gui installed) does anyone know how to do this?

0 points9 comments
Open on Reddit
About this post
Posted
Archived
Score
0 · 100% up
Kind
Text
ID
pyamh

Author

6
posts
10
comments
0
media
View profile

9 comments

lspci -v | less

Use arrows to scroll, 'q' to quit.

3 points

Pipe the text into a file

joseph@azurik ~ $ lspci -v >> /home/joseph/stuff

joseph@azurik ~ $ nano /home/joseph/stuff

2 points

This is a good method too, not sure why you got downvoted. Sometimes this is MORE useful, although not as quick as simply scrolling up.

2 points

Honestly the downvote was most likely because I use nano, people are very serious about their text editors in these parts.

I still prefer the piping method because I can then search for what I wanted instead of scrolling through 1000+ lines of output. Edit:: I also assumed OP knew how to scroll and was just out of line in memory (I think bash defaults to 500 or 1000).

2 points

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.