Hi guys...
What am I doing wrong?
#!/bin/sh
LINES=1
FILE=test.log
TAIL="/usr/bin/tail -n"
$TAIL -${LINES} ${FILE}
Error:
./tail.sh
usage: tail [+/-[n][lbc][f]] [file]
tail [+/-[n][l][r|f]] [file]
---------- Post updated at 08:41 AM ---------- Previous update was at 08:32 AM ----------
please ignore this thread..i've found the issue...sorry about it