Toggen Blog
Tech tips
Articles
Latest
awk specifying multiple field separators
I want to extract the text "Windows 2008" sandwiched between [VM STORE] and "/Windows 2008.vmx" So I need two field separators ] for the left and / for the right. So for awk I use "[]/]" as the argument to -F. Then I need to trim the spaces using sed. echo "32 EDI...
Busybox ash shell workaround for not working IFS on VMWare 4ESXi
This doesn't work ~ # cat fstest.sh #!/bin/sh ALLFILES=`ls -1 "/vmfs/volumes/4c371e81-0c463360-dfe3-001d091edb9f/ERP WinXP Client/"` # I tried all sorts of things but this works with # the vmware busybox (ash) shell # this works you get correct field separation...
Splitting records by multiple spaces but not single spaces using awk
The default field separator on awk is one or more spaces so for the following vmware command output if you try to awk out a VM name which has spaces you get the first word of the VM name and not the full name. To fix you need to change the field separator in awk to...
OpenSuse 11.4 on HP Mini 110 – It works!
Talk about drama free install. Download the KDE LIVE ISO http://mirror.optus.net/opensuse/distribution/11.4/iso/openSUSE-11.4-KDE-LiveCD-i686.iso dd if=openSUSE-11.4-KDE-LiveCD-i686.iso of=/dev/sde bs=8M Where /dev/sde is my 4GB USB Key. Press F10 on the HP Mini 110...
Simple Invoices Email Setup for Windows 2003 Exchange Server
Error: "Zend Mail Protocol Exception: is unsupported SSL type" Solution: Comment out the email.secure option in $SIMPLE_INVOICES_ROOT/config/config.ini (see example below) Error 2: Authentication Unsuccessful when trying to connect to Windows 2003 Exchange Server...
Samba Domain Membership KRB5 Setup Head Scratching
Samba 3.5 documentation states: With both MIT and Heimdal Kerberos, it is unnecessary to configure the /etc/krb5.conf, and it may be detrimental. And further: MIT's, as well as Heimdal's, recent KRB5 libraries default to checking for SRV records, so they will...
