Technology Insights

Title OSX Keyboard Shortcut For Insert Date And Time, Insert Date/Time In TextMate

I use TextMate on Mac OSX Mountain Lion to write notes. One thing I find myself needing a bunch is to insert the current date and time so I can track specific events. For instance if I am writing an article for and I am doing the initial formatting in TextMate, which is a typical scenario for me, I might take ten screenshots and I like to note the current date/time in case I get pulled away from the article writing for something else. So having a keyboard shortcut that outputs the current date/time is really valuable so I don’t have to type it out by hand. Below I describe how to install a OSX Service that will provide various date/time outputs via Keyboard Shortcuts. The OSX Service called WordService also provides a bunch of extra awesome services which I briefly touch on below as well.

Information Security

smbclient : Backtrack 5: Non Menu Items: CLI Commands: smbclient

The smbclient command line application included in Backtrack Linux is a staple for pentesting. I would imagine anyone that has done a pentest has used it to quickly verify SMB (Server Message Block) or CIFS (Common Internet File System) shares. The smbclient manpage describes it as a FTP-like client to access SMB/CIFS resources on servers. Below we describe varios smbclient commands in details to provide a basic understanding of its capabilities and what output will look like when using this tool in Backtrack Linux.

Technology Errors

apt-mirror: can’t chdir to skel at /usr/bin/apt-mirror line 372

Following up to the article written yesterday you will likely have also received this error if you also received the error regarding the apt-mirror.lock file when attempting to mirror a repository on Ubuntu Linux using apt-mirror. The current error relates to the fact that a skel directory does not exist in the root directory of the repo you are attempting to create. Below the error is described in more detail as well as instructions for fixing it by creating the skel directory.

Technology Insights

Test NFS From OSX

When setting up a NFS server its nice to be able to test from your desktop to verify things are working properly. In the current scenario I setup NFS on a BackTrack Linux server and needed to test it quickly from OSX to make sure NFS mounts were advertising properly. Below are a couple quick commands to first display the available NFS mounts and second to mount the NFS drive on OSX to verify functionality.