This website works better with JavaScript.
Home
Explore
Help
Sign In
david.wurm
/
InternetServicesBook
mirror of
https://github.com/trimstray/the-book-of-secret-knowledge
Watch
1
Star
0
Fork
0
Code
Releases
0
Activity
Browse Source
Simple bash filewatching with MAIL variables
It's less-intrusive than puts/printf and has no dependencies, handy for Solaris users like myself.
pull/83/head
Luke Bonanomi
5 years ago
parent
72b45043e6
commit
c6518919c2
1 changed files
with
6 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+6
-0
README.md
+ 6
- 0
README.md
View File
@@ -1256,6 +1256,12 @@ for ((i=5; i<=10; ++i)) ; do printf '%02d\n' $i ; done
# alternative: seq -w 5 10
```
###### Simple Bash Filewatching
```bash
unset MAIL; export MAILCHECK=1; export MAILPATH='$FILE_TO_WATCH?$MESSAGE'
```
___
##### Tool: [mount](https://en.wikipedia.org/wiki/Mount_(Unix))
Write
Preview
Loading…
Cancel
Save