LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices

Reply
 
Search this Thread
Old 09-25-2006, 03:21 PM   #1
ddvlad
LQ Newbie
 
Registered: Sep 2006
Location: Romania
Distribution: Fedora Core 5
Posts: 5

Rep: Reputation: 0
"Scrolling up" in a plain login prompt (no X)


Hello,

As part of my effort to learn more about console tools, I have installed Fedora Core 5 with no graphical elements. My question is, can I "scroll up" in a plain Bash login screen? I know about piping output to less, but that's not always possible (or I may not know about it -- after all, that's why I'm posting). For instance, I ran yum update, which displayed a huge list of package needing update. Naturally, this did not fit in 25 lines. Can I, in this case, see previous output?

As a side question, do you think my choice is right? Graphical interfaces just distract me and pretty soon I would end up using them exclusively, thus nulling my quest to learn console tools. I can use Vim and Elinks acceptably, and in my view it's a good start: I can search the web and manually edit configuration files.

Thanks and congrats on the community,
Vlad
 
Old 09-25-2006, 03:46 PM   #2
i_grok
Member
 
Registered: Jun 2006
Location: Massachusetts
Distribution: Gentoo
Posts: 79

Rep: Reputation: 16
Use <Shift>+<Page Up> and <Shift>+<Page Down>. Unfortunately, the amount you will be able to see will still be limited.

You might like to take a look at the 'screen' utility if you really love the command line. It does all sorts of wonderful things.
 
Old 09-27-2006, 09:24 PM   #3
BeerIsGood
LQ Newbie
 
Registered: Aug 2005
Location: Emerald, Queensland, Australia
Distribution: Kubuntu => moving => Debian 6
Posts: 27
Blog Entries: 1

Rep: Reputation: 0
You can also direct output of a process to a text file to review later, eg:
Code:
yum update > update.log
less update.log
However, you won't see the text output while the first process is running. Not sure if you can direct output to the screen at the same time.
 
Old 09-28-2006, 08:48 AM   #4
i_grok
Member
 
Registered: Jun 2006
Location: Massachusetts
Distribution: Gentoo
Posts: 79

Rep: Reputation: 16
You can view the output and write to a file at the same time using tee:
Code:
yum update | tee update.log
Notice that this will only capture standard output. Error messages will not be directed to these files. To do all messages to update.log:
Code:
yum update 2>&1 | tee update.log
 
Old 09-28-2006, 02:55 PM   #5
ddvlad
LQ Newbie
 
Registered: Sep 2006
Location: Romania
Distribution: Fedora Core 5
Posts: 5

Original Poster
Rep: Reputation: 0
All of your advice was interesting and useful. Thank you kindly.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
No UTMPX entry, You must EXEC "login" for the lowest "shell" ooihc Solaris / OpenSolaris 7 03-12-2007 02:09 PM
how do I get around the "submit passwd" prompt in ubuntu even if I use "sudo"? t3gah Linux - Distributions 1 02-22-2005 04:42 PM
Howto disable "Graphical Login" or "Standard Login?" the_gripmaster Red Hat 1 07-08-2004 02:55 PM
Text login prompt "resolution out of bounds" stuartg Linux - Software 0 05-12-2004 10:49 PM
"hi there!!!" at login prompt??? ysbrand_galama Linux - Security 11 10-14-2003 02:19 PM


All times are GMT -5. The time now is 08:28 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration