I am writing most of my bash script with nano editor. If one want to get colours in nano, on
Category: bash
sed
sed is a linux command that can replace characters and words in a file very easy! Syntax: sed -i ‘s/word/newword/g’
Use ‘mutt’ to send email with attachment
The unix ‘mutt’ command can be used to send an email with attachment: mutt -s “Test message” name@something -a files.tar
tar
Create a tar file of files located in a folder: tar -cvf filname.tar foldername/ where: c = create v =
ldapsearch users and places that contains æ, ø and å
We needed to collect “Place” information per user from our LDAP server. The problem was that the description of the
