Im a command line idiot! Please help
Im totally new to the command line. Using Ubuntu server for a robot and using command lspci -nn to view pci devices details and receive like 3 pages of stuff that fly by. How do I direct it to show a page at a time? I dont have alot of hair but I can see I will have none soon, LOL. Why not /p, oh well
|
Hello and Welcome to LinuxQuestions,
Pipe the output of your command into less or more like this: Code:
lspci -nn |less Kind regards, Eric |
Thanks eric!
Awesome fast reply, that did the trick, but what do I do at the end when it says "END", other than reboot? Sorry
|
Hello,
Type the letter q to exit the pager and you'll be returned to the command prompt. Kind regards, Eric |
Thanks again Eric
I hate bothering people esp. with stupid stuff, but searched Linux 101 info for 2 hours before asking.
Your awesome thanks! |
Hi,
No problem at all, you'll get the hang of it real soon. Have fun with Linux. If you consider your problem solved please mark the thread as such (which you already did, thanks). Kind regards, Eric |
Praise Eric!
I will be here helping people like Eric does as soon as I have an IQ that can be measured! Thanks to all of you who help people!
|
Quote:
You already have a measurable IQ since you've already learned something. And believe me, everybody learns something new every day. Kind regards, Eric |
Another approach - not that there is anything necessarily wrong with the current approach, just one that you might prefer - is, if you know that there is a particular string within any line that you are interested in, is to use 'grep' as a filter, eg
Code:
lspci -nn | grep -i intel |
|
ctrl + c sometimes do the trick. Am I right?
|
Quote:
Remember, the Unix command line was invented far before GUIs existed, and far, far before conventions like Ctrl+X/C/V to Cut/Copy/Paste. |
All times are GMT -5. The time now is 01:06 AM. |