Sometimes one need to send an email from Linux (automated messages, warnings and so on). The problem is that the content looks strange when received…
Leave a CommentCategory: Linux
The unix ‘mutt’ command can be used to send an email with attachment: mutt -s “Test message” name@something -a files.tar < message.txt where files.tar is…
Leave a CommentI’ve wrote a simple bash script to dump databases from a Postgresql 8.1 database server which uses the pg_dump and pg_dumpall. #!/bin/bash ## This scripts…
2 CommentsCreate a tar file of files located in a folder: tar -cvf filname.tar foldername/ where: c = create v = verbose f = file filname.tar…
Leave a CommentWe needed to collect “Place” information per user from our LDAP server. The problem was that the description of the “Place” came out strangely encoded…
Leave a Comment