yep, as you said....your path is incorrect in every line
and carefully read the activity.sh file....
Code:
# usage: sh.exe activity.sh [limit]
# Prints recently logged-in users, including login time and host.
if [ $1 ]; then
LIMIT=$1
else
LIMIT=10
fi
./cat.exe << EOF | ./sqlite3.exe -header -column ./login.db
SELECT l.user AS username, l.time AS 'last login time', l.ip AS host, count(*) AS 'total logins'
FROM loginsLast l, loginsAll a
WHERE l.user=a.user
/* AND l.user!='aaa' */ -- uncomment this to exclude user 'aaa'
GROUP BY a.user
ORDER by l.time desc
LIMIT $LIMIT;
EOF
__________________
- FlashFXP v4.0 BETA (v3.7.9 Build 1401) registered
- Windows 7 x64
- McAfee Antivirus Enterprise 8.7i Patch 2 + Antispyware 8.7i