08-23-2002
How does commnad tail implement
How does commnad tail implement ?
Thank you .
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi all
Wanted to know if there is a command that gives me the bandwidth used at any point of time (in mbps). I pay for the bandwidth I have used and need to be alerted everytime I corss over a certain limit.
Regards
KS (5 Replies)
Discussion started by: skotapal
5 Replies
2. Shell Programming and Scripting
echo "Enter a,: \c"
read answer
echo
case "$answer" in
a|A)
echo "Enter a file :\c"
read $answer
echo " Enter a string to be searched :\c"
read $answer2
if
then
echo " file doesn't exist" ... (5 Replies)
Discussion started by: props
5 Replies
3. Shell Programming and Scripting
hello everyone..
I was wondering is there a effective way to sort file that contains colomns and numeric one.
file
218900012192 8938929 8B8DF3664 1E7E2D59D5 0000 26538 1234 74024415
218900012979 8938929 8B8DF3664 1E7E2D59D5 0000 26538 1234 74024415
218900012992 8938929 8B8DF3664... (2 Replies)
Discussion started by: amon
2 Replies
4. UNIX for Dummies Questions & Answers
Hi,
I have a file and the contents of the file is say
World
World
World
Now i need to append some more words in each of the line and the the output of the file should like the one below
Will India win the World Cup?
Will India win the World Cup?
Will India win the... (3 Replies)
Discussion started by: preethgideon
3 Replies
5. UNIX for Dummies Questions & Answers
Hello all
say i like to find files i do :
find . -name "*.txt"
but if i like to find ( and print out ) only the path's where the files are ( the *.txt files )
what can i add to the find command ? (1 Reply)
Discussion started by: umen
1 Replies
6. UNIX for Dummies Questions & Answers
Dear All
I had a UNIX ( Sun solaris ) os.
There are many user on that server. Now i want to find during last week who had log in to the sever and which commnad are executed by them?
I also want to from which IP they had log in to the server.
Is there any log file generated for user in... (5 Replies)
Discussion started by: jaydeep_sadaria
5 Replies
7. Shell Programming and Scripting
Hi all,
could any of you please help me on my problem..
we are doing FTP (one report out put) from one server to another server through unix shell script program.
Due to the network issues, some times FTP process is hanging.
So we planned to modify the existing program with the following... (2 Replies)
Discussion started by: kishore_jasthi
2 Replies
8. Shell Programming and Scripting
Hello
I am very new to unix scripting.
The below is the ouput of my one command, now i want to use the two below values 611 and 572 from the output of the command . in the ouput i want 39 which would be come by subtracting 572 to 611.
please suggest how can we perform subtraction of... (6 Replies)
Discussion started by: singhald
6 Replies
9. UNIX for Advanced & Expert Users
Hi Guys
i have set the watch command on my shell
watch=all
but this will report when i open and close a shell, is there a way so that it will ignore me user but only when i am on my machine
i can set it to
watch=notme
but that will not detect if someone su -<my... (0 Replies)
Discussion started by: ab52
0 Replies
10. Shell Programming and Scripting
I have 250 files that have 16 columns each - all numbered as follows stat.1000, stat.1001, stat.1002, stat.1003....stat.1250.
I would like to join all 250 of them together tail by tail as follows. For example
stat.1000
a b c
d e f
stat.1001
g h i
j k l
So that my output... (2 Replies)
Discussion started by: kayak
2 Replies
LEARN ABOUT DEBIAN
inotail
INOTAIL(1) Inotify enhanced tail INOTAIL(1)
NAME
inotail - A fast and lightweight version of tail using inotify
SYNOPSIS
inotail [OPTION]... [FILE]...
DESCRIPTION
inotail is a replacement for the 'tail' program found in the base installation of every Linux/UNIX system. It makes use of the inotify in-
frastructure in recent versions of the Linux kernel to speed up tailing files in the follow mode (the '-f' option). Standard tail polls the
file every second by default while inotail listens to special events sent by the kernel through the inotify API to determine whether a file
needs to be reread. Note: inotail will not work on systems running a kernel without inotify. To enable inotify, please set CONFIG_INOTIFY=y
in your Linux kernel configuration and recompile it.
Currently inotail is not fully compatible to neither POSIX or GNU tail but might be in the future.
OPTIONS
-c N, --bytes=N
output the last N bytes. If the first character of N is a '+', begin printing with the Nth character from the start of each file.
-f, --follow
keep the file(s) open and print appended data as the file grows
-n N, --lines=N
output the last N lines (default: 10) If the first character of N is a '+', begin printing with the Nth line from the start of each
file.
-v, --verbose
print headers with file names
-h, --help
show help and exit
-V, --version
show inotail version and exit
AUTHOR
Written by Tobias Klauser <tklauser@distanz.ch>
SEE ALSO
tail(1), inotify(7)
2006-08-13 INOTAIL(1)