I've had a look at this and it appears that the file in
~/Library/Application Support/Dock/ is an sqlite database with all of
the info for the Launchpad. After digging around inside it, it looks
like it would be possible to write a few shell scripts ...
Hi David, If you only want the last bit of a path, you can also pass the
directory variable through the basename command, which will extract the
last item, with or without the end /. e.g. bash-3.2$ basename
/path/to/directory directory bash-3.2$ base...
With regards to the port scanning option, I don't believe ssh (port 22)
is enabled by default upon jailbreaking, at least it didn't used to. It
requires the OpenSSH package to be installed by the user after the
device is jailbroken, but as I said, th...