Find the answer to your Linux question:
Results 1 to 2 of 2
Hi All: I am new to linux and unix in general like to know everything about it one question i ran into today is i installed ubuntu server and able ...
  1. #1
    Just Joined!
    Join Date
    Feb 2009
    Posts
    2

    Question SSH output - also question about linux logs

    Hi All:
    I am new to linux and unix in general like to know everything about it
    one question i ran into today is

    i installed ubuntu server and able to remote SSH into its shell
    but one thing that bothers me is i am not able to see the full screen of a command output, putty provided some flexibility with a scroll bar,

    my question is however, how do i copy/paste the text on the putty console to some other application (ie. notepad in windows as i running this setup in VMware workstation), I noticed there is a "copy all to clipboard" option in putty, but is there a way to select some specific text on the screen rather than all .... not sure if this is a putty question

    and how would i save and review my output if i am in a console (on linux machine itself rather than SSH'ed in), i tried to pipe the output into vi but not working all the time.. ie

    ifconfig -a | vi ifconfig-all.txt



    another question, in windows , there is an event viewer, i imagine in linux there various ways to get to various system event and logs, where do i start ?


    thanks

  2. #2
    Linux Engineer Thrillhouse's Avatar
    Join Date
    Jun 2006
    Location
    Arlington, VA, USA
    Posts
    1,377
    Copy and paste in Putty: PuTTY FAQ

    I also believe you can change the buffer size in Putty which will allow you to scroll up farther in the output but if you really need all of the output, redirect it to a text and pull it down with scp.

    To redirect output, do:
    Code:
    ifconfig -a > ifconfig-all.txt
    then you can open it up in vi or cat it or whatever.

    Most system activities are sent to /var/log/messages. There are also application-specific logs in /var/log that you can look at.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...