Posts

Showing posts with the label firefox

Bash Shell, X, & Firefox Shortcuts

Image
As I was writing a script, I noticed that I pressed Shift-PageUp without even thinking about it. Then I realized that there are a lot of shortcuts we take for granted as Sysadmins. I thought it would be helpful to share some of them. This is not a comprehensive list, but a few shortcuts I find myself using all the time. Bash Shell shortcuts Shift-PageUp / PageDown See more of the screen Ctrl-a, Ctrl-e Move to beginning / end of line up & down arrows See bash history !! / !$ Execute the previous command / parameter !n Execute the nth command in history Ctrl-D Logout, or exit Ctrl-u, Ctrl-h, Ctrl-b Delete previous char, or entire line Alt-F1 to Alt-F7 Switch to another console —see also: using-bash-history , ...

Script to Unlock Firefox

Image
I wrote a script to unlock Firefox on a linux machine. The symptom is when firefox is not running, but it won't let you start because it thinks it's still running. If you have already run "pkill -9 –f firefox", then all you have to do is delete the lock files -- .parentlock, and lock. This is user specific, so you'll have to find your own home directory under ~/.mozilla/firefox/. Mine is dz4bq7je.scottm on this host. $ cat ~/bin/unlock_firefox.sh #!/bin/sh rm ~/.mozilla/firefox/dz4bq7je.scottm/.parentlock rm ~/.mozilla/firefox/dz4bq7je.scottm/lock $ ll ~/.mozilla/firefox/ total 12 drwx------ 9 scottm users 4096 Sep 9 11:25 dz4bq7je.scottm -rw------- 1 scottm users 1264 Jun 23 2008 pluginreg.dat -rw-r--r-- 1 scottm users 162 Nov 15 2005 profiles.ini $ The advantage of this simple script is that you don't have to go looking for directories and files, or remember where firefox puts them. Just remember when it's l...

Did you know these basic Firefox Tips?

Image
You May know those BIG things But Did you know these? Excellent list of easy firefox tips to implement -- e.g., press Esc to stop animated gifs from moving... # To quickly find any word in a web page type /word it will highlight the word and press Ctrl+G to “Find Again” that same word again # If you wish to remove an item from your Address Bar Drop down menu,Highlight it without clicking and use Shift+Delete. # To stop animated gifs from moving, press the ESC key. read more | digg story