Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

tailf(1) [debian man page]

TAILF(1)							   User Commands							  TAILF(1)

NAME
tailf - follow the growth of a log file SYNOPSIS
tailf [OPTION] file DESCRIPTION
tailf will print out the last 10 lines of a file and then wait for the file to grow. It is similar to tail -f but does not access the file when it is not growing. This has the side effect of not updating the access time for the file, so a filesystem flush does not occur peri- odically when no log activity is happening. tailf is extremely useful for monitoring log files on a laptop when logging is infrequent and the user desires that the hard disk spin down to conserve battery life. Mandatory arguments to long options are mandatory for short options too. -n, --lines=N, -N output the last N lines, instead of the last 10. -V, --version Output version information and exit. -h, --help Display help and exit. AUTHOR
This program was originally written by Rik Faith (faith@acm.org) and may be freely distributed under the terms of the X11/MIT License. There is ABSOLUTELY NO WARRANTY for this program. The latest inotify based implementation was written by Karel Zak (kzak@redhat.com). SEE ALSO
tail(1), less(1) AVAILABILITY
The tailf command is part of the util-linux package and is available from ftp://ftp.kernel.org/pub/linux/utils/util-linux/. util-linux February 2003 TAILF(1)

Check Out this Related Man Page

SWITCH_ROOT(8)						       System Administration						    SWITCH_ROOT(8)

NAME
switch_root - switch to another filesystem as the root of the mount tree SYNOPSIS
switch_root [-hV] switch_root newroot init [arg...] DESCRIPTION
switch_root moves already mounted /proc, /dev and /sys to newroot and makes newroot the new root filesystem and starts init process. WARNING: switch_root removes recursively all files and directories on the current root filesystem. OPTIONS
-h, --help show help and exit -V, --version show version number and exit RETURN VALUE
switch_root returns 0 on success and 1 on failure. NOTES
switch_root will fail to function if newroot is not the root of a mount. If you want to switch root into a directory that does not meet this requirement then you can first use a bind-mounting trick to turn any directory into a mount point: mount --bind $DIR $DIR SEE ALSO
mount(8), chroot(2), init(8), mkinitrd(8) AUTHORS
Peter Jones <pjones@redhat.com> Jeremy Katz <katzj@redhat.com> Karel Zak <kzak@redhat.com> AVAILABILITY
The switch_root command is part of the util-linux package and is available from ftp://ftp.kernel.org/pub/linux/utils/util-linux/. util-linux June 2009 SWITCH_ROOT(8)
Man Page

15 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Date function question

hi guys! just want to ask if you could help me with the sript i'm working on. i need to automatically generate a summarized report everyday for all transactions the day before and ftp it to another machine. my only problem is that i need to name the file as the date yesterday. for example if i... (12 Replies)
Discussion started by: crpalermo
12 Replies

2. Linux

Removing Windows

Hello, I am going to install linux on my new laptop. It is currently using windows, is it possible to remove windows? if it is, how do I do it? :confused: (9 Replies)
Discussion started by: Kimm
9 Replies

3. Slackware

Installing Mandrake

I am pretty new to Unix/linux and have been itching to use a linux os for a while. And after some research i found that Mandrake was the best for someone like me. I need to know what files i need to download to make a boot disc(s) to make my laptop run only linux. The laptop runs around 200-500mhz... (10 Replies)
Discussion started by: Infidel
10 Replies

4. UNIX for Dummies Questions & Answers

Merging lines into one

Hello. I would be very pleased if sb. help me to solve my problem. I've got a file with many non blank lines and I want to merge all lines into one not destroy the informations on them. I've tryed it with split and paste, tr, sed , but everything I've done has been wrong. I know about crazy... (8 Replies)
Discussion started by: Foxgard
8 Replies

5. UNIX for Dummies Questions & Answers

Hard Disk drive space gone missing...

Sorry if this is totally the wrong place to post this but I have a question or something rather thats bugging me. I got a new Dell Inspiron laptop the other day and I was expecting it to have 80G on it, well atleast 70 or so after installation of OS and such but after looking carefully yesterday, I... (8 Replies)
Discussion started by: Ecclesiastes
8 Replies

6. UNIX for Dummies Questions & Answers

Looking for Unix Emulators on Windows XP

Hello all, Forgive me if this question was asked before, I'm unable to find an answer to it on this forum upon searching "windows unix". I have Windows XP at home, and I want to practice Unix, I want to re-learn all Unix commands, Shell script programming and the Vi Editor. I'm looking... (11 Replies)
Discussion started by: thoughts
11 Replies

7. Linux

Linux

Which flag for the tail command is often used to view log files? -a or -f or -l or -z?? (11 Replies)
Discussion started by: abril2006
11 Replies

8. Linux

log session

How could I log a seesion on unix machine...log all the commands applied on the server by a user (15 Replies)
Discussion started by: mm00123
15 Replies

9. Shell Programming and Scripting

monitoring a circular file

I have an event log which is a circular file. I would like to be able to see real-time updates of that event log. Kind of the equivalent of a 'tail -f'. But obviously 'tail -f' won't work if my circular file has already cycled over. Any ideas as to how I can do this? Let me know if I am clear.... (10 Replies)
Discussion started by: sdilucca
10 Replies

10. Red Hat

wireless internet on redhat linux ?

Hi, Could some please help me in configuring wireles internet on redhat linux installed on my laptop. When I booted using windows, I saw the following, which I think is the name of my laptop's wireless card: Intel(R) PRO/Wireless 3945ABG Network Connection I have run the following steps... (9 Replies)
Discussion started by: girish1428
9 Replies

11. Shell Programming and Scripting

Tail 86000 lines from 1.2 million line file?

I have a log file that is about 1.2 million lines long and about 300MB. we need a way to clean up this file and only keep the last few thousand lines. if i use tail command we run our of memory as the file is too big. I do have a key word to match on. example, we want to keep every line... (8 Replies)
Discussion started by: robsonde
8 Replies

12. Shell Programming and Scripting

Get value between brackets

Hi I am having hard time getting this right and need some help. I Have several log files, and everyone contains the following 3 lines at the end: 4 ETW000 Disconnected from database. 4 ETW000 End of Transport (0000). 4 ETW000 date&time: 13.01.2011 - 08:03:28 I need to capture the value... (7 Replies)
Discussion started by: nimo
7 Replies

13. Cybersecurity

Linux kernel Security

Hey Folks, What are the ways we can provide security to kernels. How can I make my Kernel Unique and not allow anyone to replace my Unique kernel with a standard one. How can i implement measures to avoid any user to replace or modify GRUB and Kernel...? Need help on this Thank you (8 Replies)
Discussion started by: Vabiosis
8 Replies

14. UNIX for Dummies Questions & Answers

Help with function

Hi I'm a newbie in unix scripting and I'm trying to do a function that do the next: Run this command: opcdeploy -cmd "utility -xs" -node node.com and store the result in a file. Get the last ten lines from the stored file and do a search for the number 100, store that search in a variable. If ... (11 Replies)
Discussion started by: salaso
11 Replies

15. What is on Your Mind?

How Can We Increase the Size of Our Community?

Any suggestions on how to increase the number of posters and contributors? Please vote and write in your suggestions. Thank you! (72 Replies)
Discussion started by: Neo
72 Replies