Jan 15
2014
clamdscan
Przykład clamdscan
sudo -u clamav clamdscan /home/ftp/samba_public/
Przykład clamdscan
sudo -u clamav clamdscan /home/ftp/samba_public/
in bash script
tr -dc A-Za-z0-9_ < /dev/urandom | head -c 16 | xargs
function in $HOME/.bashrc
genpasswd() {
local l=$1
[ "$l" == "" ] && l=16
tr -dc A-Za-z0-9_ < /dev/urandom | head -c ${l} | xargs
}