Seeing the updateg logs on putty


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers Seeing the updateg logs on putty
# 1  
Old 05-19-2012
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  
Old 05-19-2012
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  
Old 05-19-2012
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  
Old 05-19-2012
tail -f is the best option.Please tell what exactly is your requirement ?
# 5  
Old 05-19-2012
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  
Old 05-19-2012
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:
 
Login or Register to Ask a Question

Previous Thread | Next Thread

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. 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

5. 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

6. Windows & DOS: Issues & Discussions

putty groups

Hi all, need info on using putty as group. I am having huge numbers of servers. (say 100) I am using putty to login remotely. i want to group each 25 hostnames or a set of servers into one putty instance. (see image attached.) Currently i have to scroll down to see all the 100 servers. ... (2 Replies)
Discussion started by: karthikn7974
2 Replies

7. UNIX for Dummies Questions & Answers

putty script

i was having problem on unix command.here's my script set server_exe="C:\filecopy\putty.exe" %server_exe% sgxaspecs3@sporc01 -pw pit54321 -b c:\filecopy\file_sporc01putfiles2.txt echo "file uploaded to SFTP Server" pause ok the thing is like this, i could login to putty by running this... (1 Reply)
Discussion started by: dannyd_y
1 Replies

8. 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

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
Login or Register to Ask a Question