Cardboard Box

Cardboard Box

A place to store useful snippets of code, links and other such geek stuffs.

Mount ISO (.iso) In Linux

To mount an ISO (.iso) on a Linux system...

mount -t iso9660 -o ro,loop /path-to-file/file.iso /path-to-mount-point

In many cases you will not have to specify the "-t iso9660" as most Linux distributions will auto detect that.  The "ro" in the "-o ro,loop" tell this system to mount it ISO read-only.

Labels:

posted by Don @ 4:44 PM, , link to this post

Enable Syntax Highlighting In Vim (vi), Mac OSX (Leopard)

To enable the syntax highlight feature of Vim on a Mac OSX (Leopard) system, edit the /usr/share/vim/vimrc file and add the "syntax on" config.

To do this from Terminal.app...

sudo vi /usr/share/vim/vimrc

...add a new config, "syntax on" and then save and close the file.

Labels:

posted by Don @ 10:57 AM, , link to this post

Remotely Reboot Windows XP

Using a remote desktop client to connect to a Windows XP box will not provide you with the option to reboot or restart the remote machine. To do this from the command line, open a command prompt (Start->Run->Cmd.exe) and use the command:

shutdown -r -t 0

...to open a gui interface to manage the reboot:

shutdown -i


Labels: ,

posted by Don @ 3:35 PM, , link to this post

About This Blog

This blog is a place where I hope to put the snippets and trimmings of my geek'dom ... code samples that have served me well, tech links and other such things that'll I find useful. In short, any time I have to Google something, I tend to post it here for others to find as well.

Also, having owned 'digital-penguin.com' for many years and having worked with many a fellow geek, this site also serves as a place where I can always be found.


Labels

Previous Posts

Archives

Links

Powered by Blogger