-
Notifications
You must be signed in to change notification settings - Fork 0
/
README
65 lines (42 loc) · 1.41 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
Mirror
------
Looks like the project is dead. I uploaded it unmodified to Github to avoid
loosing the source code (released as GPL 3), and to have a stable source
from which the Arch AUR package (aur/since) can fetch its sources.
The offical homepage is:
* http://welz.org.za/projects/since
* https://web.archive.org/web/20170524153241/http://welz.org.za/projects/since
The rest is now taken unmodified from the last release.
Since
-----
since is a tail(1) with state - it allows the user to
view only the lines appended to a file since the last
time since was used.
Installation
------------
To build the executable type:
make
To install the executable and manual page, become root and type:
make install
The default locations are:
/usr/local/bin/since
/usr/local/share/man/man1/since.1
To change the install location use the prefix variable:
make prefix=/usr install
Use
---
To understand how since works run the following commands:
make
echo "First line" >> testlogfile
./since testlogfile
echo "Second line" >> testlogfile
./since testlogfile
rm testlogfile
I find it useful to add aliases such as the following to my
.bashrc file
alias dosince='since /var/log/{messages,syslog,mail.log}'
Other
-----
The since homepage is http://welz.org.za/projects/since
Since is released under the terms of the GNU public license
version 3 or newer, as set out in the file COPYING.