sed
sed is a linux command that can replace characters and words in a file very easy! Syntax: sed -i ‘s/word/newword/g’ file.txt It means: replace all “word” with “newword” in the […]
sed is a linux command that can replace characters and words in a file very easy! Syntax: sed -i ‘s/word/newword/g’ file.txt It means: replace all “word” with “newword” in the […]
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 the attached file, and message.txt
Use ‘mutt’ to send email with attachment Read More »
Create a tar file of files located in a folder: tar -cvf filname.tar foldername/ where: c = create v = verbose f = file filname.tar = the created file ———-
We needed to collect “Place” information per user from our LDAP server. The problem was that the description of the “Place” came out strangely encoded whenever it contained one of
ldapsearch users and places that contains æ, ø and å Read More »