Seeing the updateg logs on putty


 
Thread Tools Search this Thread
# 1  
Question Seeing the updateg logs on putty

Hi Folks,

I have an application of which logs are being made on unix machine at the back end , i open putty and access that location
Code:
cd /var/log/abc.log

but those logs are getting refreshed after every minute or on every request and response Now I am opening those logs on putty but please advise me the unix command so that my logs are also get refreshed on putty as the logs are getting refreshed ..!! At last on putty I want to see the updated logs
# 2  
PuTTY is a terminal emulator, not an editor.

Use tail -f to see as the log is being update.
This User Gave Thanks to Scott For This Post:
# 3  
Quote:
Originally Posted by Scott
PuTTY is a terminal emulator, not an editor.

Use tail -f to see as the log is being update.
Hi Scott,
I have been using tail -f abc.log but is there any better command..!!
# 4  
tail -f is the best option.Please tell what exactly is your requirement ?
# 5  
Quote:
Originally Posted by aashish.sharma8
tail -f is the best option.Please tell what exactly is your requirement ?
Hi ,
As the logs get updated and also in Putty they are getting updated what about if at later state I want to check the first initial 10 lines of log file(abc.log) or mid 10 lines as on putty the latest logs will be get displayed..!!
# 6  
This is getting weirderer and weirderer!

WHY do you want to do that?

Combining all of your threads into one: Read the manual pages for head, tail, vi, find.

We have all of them here!
This User Gave Thanks to Scott For This Post:
 

Previous Thread | Next Thread
Thread Tools Search this Thread
Search this Thread:
Advanced Search

Test Your Knowledge in Computers #213
Difficulty: Medium
OSPF-TE is an extension to OSPF extending the expressivity to allow for traffic engineering and use on non-IP networks.
True or False?

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

If I ran perl script again,old logs should move with today date and new logs should generate.

Appreciate help for the below issue. Im using below code.....I dont want to attach the logs when I ran the perl twice...I just want to take backup with today date and generate new logs...What I need to do for the below scirpt.............. 1)if logs exist it should move the logs with extention... (1 Reply)
Discussion started by: Sanjeev G
1 Replies

2. UNIX for Dummies Questions & Answers

Regarding PUTTY

Hello Forum members There is no any time parameter on putty so how can I stay my putty ssh session always Alive? So please reply to my querry. I am looking forward from Forum. Advance Thanks Siva. (5 Replies)
Discussion started by: workforsiva
5 Replies

3. UNIX for Dummies Questions & Answers

Regarding the logs on putty

Hi Folks, I have an application and I connect to unix box through putty , sometimes I Have to check the logs and for that I reached to particular directory and write tail -f abc.log Is there any better command so that these logs are dynamically go on increasing while I work on my application... (6 Replies)
Discussion started by: KAREENA18
6 Replies

4. Solaris

getting to the ok prompt from putty

Hello, I am connected to my sunblade 1500 using putty. I am trying to do an installation from putty. Which command do I give to get to the ok prompt? Thanks for your help. (10 Replies)
Discussion started by: cjashu
10 Replies

5. UNIX for Dummies Questions & Answers

how to view dynamically updated managed server logs from the same putty window

Hi, I want to know how we can view two or three logs which are dynamically getting updated from a single/same putty window with tail commnad. Thanks. (7 Replies)
Discussion started by: reachsudha
7 Replies

6. UNIX for Advanced & Expert Users

Help for PuTTy.

I'm using PuTTY to establish a SSH connection to a remote UNIX machine. I need to fetch a file from the remote system into my local Windows system. Is it possible? If yes, how can I do that? (2 Replies)
Discussion started by: agnivaccent
2 Replies

7. Shell Programming and Scripting

Grep yesterday logs from weblogic logs

Hi, I am trying to write a script which would go search and get the info from the logs based on yesterday timestamp and write yesterday logs in new file. The log file format is as follows: """"""""""""""""""""""""""... (3 Replies)
Discussion started by: harish.parker
3 Replies

8. UNIX for Advanced & Expert Users

PuTTY TITLE

Is it possible to set the PuTTY title to show the current hostname of the terminal opened? I meant to say I would be rlogin between servers, that should be updated in PuTTTY title ? :confused: (4 Replies)
Discussion started by: ./hari.sh
4 Replies

9. UNIX for Dummies Questions & Answers

putty

i am connecting to a unix-application using putty (xp). sometime, it is as if the putty is sending a form-feed char, because i am getting a blank screen, and by back scrolling i see the previous screen with all the related data. if i am using the xp-telnet, i get the screen/data correctly. ... (7 Replies)
Discussion started by: mifa-system
7 Replies

10. News, Links, Events and Announcements

PuTTY 0.59

On my opinion, one of the best ssh/telnet clients for windows, putty released a new version: Get it here, PuTTY 0.59 - PuTTY can now connect to local serial ports as well as making network connections. - Improved speed of SSH, particularly SSH-2 key exchange and public-key authentication -... (2 Replies)
Discussion started by: pressy
2 Replies

Featured Tech Videos