for i in /var/run/*.pid; do kill -1 `head -n 1 $i`; done
Thank you, this seems to have solved my problem nicely :)
Since I upgraded to FreeBSD 4.7, I notice the
following problem:
Once a month when my log files rotate
(simply gzipping the old, and the creating a new empty log file
via a
Since I upgraded to FreeBSD 4.7, I notice the
following problem:
Once a month when my log files rotate
(simply gzipping the old, and the creating a new empty log file
via a cron job) the log files stay empty. all permissions and ownerships
are correct. it takes a reboot - then the
daemons are
fbsd 4.7
SCRIPT
---
echo 1:$1
echo 2:$2
---
COMMAND LINE
---
. ./script x y
---
OUTPUT
---
1:
2:
---
shouldn't the output be:
1:x
2:y
???
in bash, x y arguments work as expected,
but in FBSD 4.7 and NBSD 1.6L, the arguments
get trashed.
ps. i used slackware about 7 years ago,
and