find * -mtime +10 -exec rm -rf {} \; 2>/dev/null
find . -name .svn -print0 | xargs -0 rm -rf
rm !(*.log)
passwd="VOTRE-PASSWD"
crypt=`perl -e 'print crypt("$passwd", "password"),"\n"'`
useradd --shell /bin/false --gid VOTRE-GROUP --home-dir "SON-HOME-DIR" --password $crypt LE-USER
:g/^$/d
wget http://test-debit.free.fr/16384.rnd -O /dev/null
PS : Sur le site WEB test-debit.free.fr d'autre taille de paquet sont disponible.
rmmod pcspkr
echo 1 > /proc/sys/net/ipv4/ip_forward
vi /etc/sysctl.conf
Décommenter :
net.ipv4.ip_forward=1
grep -E -v '^(#|$)' /etc/squid/squid.conf
mysqlcheck --repair --all-databases -v -p
mysqladmin -u root -p'OLDPASSWD' password 'NEWPASSWD'
ldapsearch -b "CN=Users,DC=test,DC=local" -H ldap://dc1.test.local:389 -D 'administrateur' -w 'Pa$$w0rd'
ps -u www-data -o user,size | sed 1d | awk '{ SUM += $2 } END { print $1" " SUM }'
sed "s/:.*$//"
grant SUPER on *.* to 'user'@'host.domaine.local' identified by 'password';
grant CREATE VIEW on *.* to 'user'@'host.domaine.local' identified by 'password';