Not the best way to start the day…
Misc No Comments »There are only 3 things that are certain in life: death, taxes, and browser incompatibilities…
I think I need a break….
There are only 3 things that are certain in life: death, taxes, and browser incompatibilities…
I think I need a break….
To create a bash file to stop webrick.
In a terminal type gedit stopWebrick and add the following to the contents of the file and save it. Give the file execute permission with chmod of using the file properties in nautilus.
#!/bin/bash
kill -9 `ps -o pid,cmd –no-heading -p $(pgrep ruby) | grep script/server | awk ‘{print $1}’`
This will kill the first ruby process it finds running as script/srever
Run it as needed.
Recent Comments