Jacob Tomlinson's profile picture Jacob Tomlinson
Home Blog Talks About

#terminal
Tag

  • Amazon S3: s3cmd put ([Errno 32] Broken pipe)

    2 minute read #aws, #error, #linux, #s3, #terminal

    Recently I decided to use Amazon’s S3 as another location to store some of my server backups. However I found when testing that I was unable to upload my backup tarballs to S3. I ended up with the following errors.

  • How to install OS X Yosemite Developer Preview Beta in Virtualbox

    Like me you may be excited about the Developer Preview Beta of OS X 10.10 Yosemite and want to try it out, but you don’t want to deal with a buggy system between now and the general release. If that’s the case you’ll want to install Yosemite as a virtual machine on your Mac. Here’s how I’ve done it on mine using VirtualBox.

  • Mac OS X Terminal Theme: Piperita

    1 minute read #bash, #github, #terminal, #theme

    UPDATE – This project is now at version 2. See the Piperita GitHub page for up to date documentation and information.

  • Sort top command by cpu usage and set to default in OS X

    2 minute read #alias, #bash, #os-x, #terminal, #top

    As I come from a linux background but seem to spend more and more of my free time using OS X I keep noticing little differences in the way the command line works on a mac. One difference which as been bugging me recently is that way that the top command orders itself. I’m used to having it ordered by highest processor usage at the top on linux, which I find the most useful as generally when I run top I’m looking to see what is chewing up my cpu. However when you run top in OS X it orders by pid, so the newest processes are at the top.

  • Why is there no space in the MySQL password parameter?

    2 minute read #cli, #command-line, #database, #mysql, #terminal

    After troubleshooting a MySQL issue with a colleague we began discussing a “feature” of the MySQL command line which insists that you don’t put a space in the password parameter when using the short parameter. We both felt that it was rather inconsistent to allow the usage of -h hostname or -u username but insist on -ppassword instead of -p password. You can of course use the full parameter --password=password but as most people use the shorthand commands it just seems slightly unintuitive.

  • SSH without a password on OS X with ssh-copy-id

    3 minute read #os-x, #ssh, #ssh-copy-id, #terminal

    What is ssh-copy-id?

    ssh-copy-id is a script that uses ssh to log into a remote machine (presumably using a login password, so password authentication should be enabled, unless you’ve done some clever use of multiple identities) It also changes the permissions of the remote user’s home, ~/.ssh, and ~/.ssh/authorized_keys to remove group writability (which would otherwise prevent you from logging in, if the remote sshd has StrictModes set in its configuration).