Installer NFS-COMMON :
# sudo apt-get install nfs-common
Showmount :
The following example uses these definitions:
(root@linuxhost)~ # smbclient -L sonas03 -U DOMAIN\\username
Password: <password not displayed>
#!/bin/bash | |
# count_em - count files in all subdirectories under current directory. | |
echo 'echo $(ls -a "$1" | wc -l) $1' >/tmp/count_em_$$ | |
chmod 700 /tmp/count_em_$$ | |
find . -mount -type d -print0 | xargs -0 -n1 /tmp/count_em_$$ | sort -n | |
rm -f /tmp/count_em_$$ |
http://blog.xn--hry-bma.com/article9/configurer-un-reverse-proxy-apache-http-https |
import smtplib | |
fromaddr = '[email protected]' | |
toaddrs = '[email protected]' | |
msg = 'There was a terrible error that occured and I wanted you to know!' | |
# Credentials (if needed) | |
username = 'username' | |
password = 'password' |
import smtplib | |
SERVER = "localhost" | |
FROM = "[email protected]" | |
TO = ["[email protected]"] # must be a list | |
SUBJECT = "Hello!" | |
TEXT = "This message was sent with Python's smtplib." |