matt-helps

insight on all things techie

Entries Tagged ‘terminal’

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 [...]

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 [...]

Linux: Bash Scripting: Search Bash History

Often when at the linux terminal I need a long command that I recently tapped out so naturally I use the up/down arrow keys to look through my recently typed in commands.  But if I’m searching for a command I used days ago then I’ll be pressing the up/down arrow keys a lot just to [...]

  

Follow mattparkins on Twitter