Unix command to view the end of a file

learn more… | top users | synonyms

3
votes
2answers
1k views

Filter tail command through multiple grep commands to separate files

What I am trying to do is filter the output of one log file into separated log files based on a grep filter. tail -f test.log | tee >(grep "Error" > error.log) >(grep "Warning"" > warning.log) ...
2
votes
2answers
1k views

GUI for tail for Linux

Could someone recommend a graphical tail kind of document viewer? So that I could open a document, scroll up and down, etc. and that the document would refresh itself automatically (without prompting, ...
1
vote
2answers
188 views

Is there any tail like tool supporting WebDav

My problem is that that a proprietary SaaS platform im developing on/for only provides log files via WebDav. During development this log files can get quite large by the end of the day (think 200 Mb+) ...
0
votes
2answers
213 views

Issues with Multitail 5.2.11 Install on RHEL5.3

I'm having some difficulty getting Multitail installed on a Linux box. Their site mentions that Multitail requires the ncurses library, but systems like *BSD and Linux have this library by default. ...
3
votes
1answer
643 views

Monitoring log files over smb

I am monitoring a couple of windows 2k3 servers from a mac running Os x Lion. I use smb to connect to the server's file system, navigate to the folder where the log files are and open them with ...
2
votes
1answer
183 views

tail a file without wrapping the lines on a mac

I want to tail -f a file that may contain very long lines. I would also like to see one line per screen line and scroll to the side if necessary, much like Vim's zL and zH, so no line wrapping, Is ...
0
votes
1answer
475 views

Installing Multitail on RHEL 5.3

I'm trying to install Multitail on a RHEL 5.3 machine, but get the following error as the root user. Should this be accessible from one of the default RPM repositories or do I need to add a new ...
0
votes
1answer
220 views

Shell doesn't display input characters after “tail -f”

I use "tail -f" to monitor log files. After interrupted by ctrl-c, the shell doesn't display my input chars from keyboard any more. Something like terminal> tail -f /log/a.log then ctrl-c ...
-1
votes
1answer
292 views

Scrolling in terminal (OS X) when running tail -f and ssh-ed into a machine yields some strange characters

I'm ssh-ed into a remote machine and running tail -f. Every time I scroll up/down using the trackpad, it yields some strange characters, like OB^[OB^[OB^[OB^[OB^[OOB^[OB^[OB^[OB^[OB^[O This didn't ...
2
votes
0answers
408 views

tail -f is not updating on AFP mounted share

I am running Mac OS 10.6.8 I have mounted a network drive, whose file I need to watch. I was planning on using tail. When I run the following: tail -f /Volumes/Cache-A/TransferLog.txt I end up ...
1
vote
0answers
23 views

Log tailing over SMB much slower under Samba 4 vs Samba 3

I just upgraded my internal development VM running Ubuntu 11.10 with Samba 3.6 to Ubuntu 15.04 with Samba 4.1 (fresh install, new VM). Everything is working great, with the exception that my log ...
1
vote
0answers
46 views

Can vim be used to view a growing file?

I often use vim's view for viewing files. Is there a way to use it for a growing file so that I can see the progress as it's happening? Something similar to tail -f or less +F I have two use ...
1
vote
0answers
319 views

Notepad++ Document Monitor with Remote File

I am trying to use Notepad++ to monitor a log file using the plugin Document Monitor. This works great on local files but does not work on remote files. I have tried both mapping the remote drive and ...
0
votes
0answers
15 views

Is there a way to make tail output newlines?

When I do tail -f $file I see newlines as \n. For example: permissions array(\n 0 => \n stdClass::__set_state Is there a way to make it turn into permissions array( 0 => ...
0
votes
0answers
78 views

Copy huge file skipping first line using dd in Linux

I was trying to copy the content of a huge file (10GB) to another skipping the first line (as in head -n1). I tried multiple ways of head, tail, awk and sed. Settled on using tail -n+2 > ./xab.1 ...
0
votes
0answers
93 views

Insert blank lines when using 'tail -f' in cmder

I recently switched from Cygwin to cmder mostly due to it's awesome interface and all that cool pre-configured stuff. ( http://bliker.github.io/cmder/ ) I am using tail -f very often and when I am ...
0
votes
0answers
141 views

Tail for Powershell v3?

I'm running the following command in my powershell terminal: Get-Content C:\wamp\bin\apache\apache2.2.22\logs\lysol-dbau.access.log -Tail 10 -Wait So I want to start with the last 10 lines of the ...
0
votes
0answers
179 views

Analogue of the “tail -f example.log” command in Windows?

Is there a similar command in Windows?