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 CommentHelge's blog Posts
I’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 CommentI needed to find and get a webpage’s img src url links. I wanted to do this with a script on a regular basis. The…
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 CommentSearch for information from a ldap server: Log in to server with: ssh servernavn Then type the command: ldapsearch -x -H ldap://ldapservername.uib.no uid=userid ldapsearch -x…
Leave a CommentForfatters kommentar: Teksten under skrev jeg 3. april 2007 så verdenen kan ha endret seg siden den gang. Hvordan kan man fjerne alle dataene på…
Leave a Comment