Added poka's seelog shell chat
This commit is contained in:
parent
a1b92ff78a
commit
5bb5d11f82
|
@ -0,0 +1,11 @@
|
|||
#!/bin/bash
|
||||
|
||||
path="/var/log/users"
|
||||
|
||||
if [ "$1" = "root" ] || [ "$1" = "" ]; then
|
||||
file=$(cat $HOME/.log/last.txt)
|
||||
else
|
||||
file=$(cat /home/$1/.log/last.txt)
|
||||
fi
|
||||
|
||||
tail -f $file
|
Loading…
Reference in New Issue