Mount an SMB / Samba share from the OS X command line
1 mount_smbfs -W workgroup //user@SERVER/folder ./mntpoint
DZone Snippets > peter > mac
12738 users tagging and storing useful source code snippets
Snippets is a public source code repository. Easily build up your personal collection of code snippets, categorize them with tags / keywords, and share them with the world
Peter Cooperx http://www.petercooper.co.uk/
1 mount_smbfs -W workgroup //user@SERVER/folder ./mntpoint
1 tar zxvf jpegsrc.v6b.tar.gz 2 cd jpeg-6b 3 cp /usr/share/libtool/config.sub . 4 cp /usr/share/libtool/config.guess . 5 ./configure --enable-shared --enable-static 6 make 7 sudo make install 8 sudo ranlib /usr/local/lib/libjpeg.a
1 /usr/sbin/ioreg -p IODeviceTree -n battery -w 0 | grep IOBatteryInfo
1 ioreg -l -w0 | grep -i IOBatteryInfo