matt-helps

insight on all things techie

Entries for the ‘Linux’ Category

Using a (free!) Amazon EC2 Micro instance for SVN

Amazon do a free low power/memory/everything server called a Micro Instance. This is perfect for a bunch of websites that don’t get used much or even as an SVN server. Did I mention it was free? Setting up SVN looks tricky at the outset, but it really isn’t. Assuming you’ve already got an AWS account…: [...]

The wonder of xargs

If you’re ever sat at the linux commandline and had a repetitive task to complete on some files or directories then you’ll find “xargs” together with “find” a very useful combination. Find will return a list of files and directories, one per line which can be piped into xargs so that the same command can [...]

Ubuntu: Ctrl-C no longer works in terminal

The programmers behind gnome-terminal seem to have changed something to do with the way ctrl-c works. Now if you want to cancel a program that has the focus of the terminal and you hit ctrl-c then nothing will happen. That’s because the gnome terminal is trying to copy text to the clipboard – perhaps your [...]

How to stop Spotify on Linux audio skipping

Spotify is a great application that lets you listen to any music they have (there’s an incredible amount on there) with the odd, almost unnoticable, advert thrown in to pay for the service. It works on windows or mac, but there is no native binaries for linux. Thankfully spotify for windows works under wine just [...]

Recursive Find and Replace in Multiple Files

Just had to make a few changes to a website I own that means changing the same text in lots of files. Linux has lots of powerful tools to enable you to make this kind of change over lots of files over many directories very easily. The command is: find . -type f | xargs [...]


Follow mattparkins on Twitter