one-liner
A good .bash_profile (or .profile)
Submitted by Matt Fleming on Mon, 2010-11-22 15:31.
I like this bash command prompt because it changes the window title of the terminal session as well. Now I won't have to look it up anymore. Goes back to the original purpose of this site I guess...
»
- 2 comments
- Read more
- 1103 reads
Copy data between databases
Submitted by Matt Fleming on Thu, 2006-12-14 14:45.In oracle, you can copy data between linked databases via normal SQL.
insert into table select * from table@db_link
The databases can even be on different physical machines.
»
- 1 comment
- 4112 reads
Killing a bunch of processes on *nix
Submitted by Matt Fleming on Fri, 2005-10-07 01:30.
It has always been a pain in the neck to kill a bunch of java processes that have been spawned off from some program that I have been running.. Here's how I do it now:
ps | grep java | `awk '{print "kill -9 " $1'}`
awk is a pretty cool utility.. I'm a complete novice with it, but as a parser it seems pretty powerful.
