Visit The New, Modern Unix Linux Community

Linux and UNIX Man Pages

Test Your Knowledge in Computers #867
Difficulty: Medium
John McDonald developed Lisp in 1958 while he was at the Massachusetts Institute of Technology (MIT).
True or False?
Linux & Unix Commands - Search Man Pages

tailf(1) [centos 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

MOUNTPOINT(1)							   User Commands						     MOUNTPOINT(1)

NAME
mountpoint - see if a directory is a mountpoint SYNOPSIS
mountpoint [-q] [-d] directory mountpoint -x device DESCRIPTION
mountpoint checks if the directory is mentioned in the /proc/self/mountinfo file. OPTIONS
-h, --help Print help and exit. -q, --quiet Be quiet - don't print anything. -d, --fs-devno Print major/minor device number of the filesystem on stdout. -x, --devno Print major/minor device number of the blockdevice on stdout. EXIT STATUS
Zero if the directory is a mountpoint, non-zero if not. AUTHOR
Karel Zak <kzak@redhat.com> ENVIRONMENT
LIBMOUNT_DEBUG=0xffff enables debug output. NOTES
The util-linux mountpoint implementation was written from scratch for libmount. The original version for sysvinit suite was written by Miquel van Smoorenburg. SEE ALSO
mount(8) AVAILABILITY
The mountpoint command is part of the util-linux package and is available from ftp://ftp.kernel.org/pub/linux/utils/util-linux/. util-linux June 2011 MOUNTPOINT(1)

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

cat command

Hi. How can i write a command on AIX like the one i did at linux that find string in a file and show me that string, and return 3 lines before and 4 lines after that string. my linux command is: /bin/cat <filename> | tail -150 | grep -B2 -A8 "<string to look for>" Example: /bin/cat ... (10 Replies)
Discussion started by: yechi_r
10 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

Featured Tech Videos