10 lines
200 B
Bash
10 lines
200 B
Bash
|
#!/bin/bash
|
||
|
|
||
|
[ ! -e $HOME/.log ] && mkdir $HOME/.log
|
||
|
|
||
|
echo $HOME/.log/$(date +"%d-%b-%y_%H-%M-%S")_shell.log > $HOME/.log/last.txt
|
||
|
script -f $HOME/.log/$(date +"%d-%b-%y_%H-%M-%S")_shell.log
|
||
|
|
||
|
exit 0
|
||
|
|