what does “rc” in .bashrc stand for?
Link: what does “rc” in .bashrc stand for?
Steven explains:
As is often the case with obscure terms, the Jargon File has an answer:
[Unix: from runcom files on the CTSS system 1962-63, via the startup script /etc/rc] Script file containing startup instructions for an application program (or an entire operating system), usually a text file containing commands of the sort that might have been invoked manually once the system was running but are to be executed automatically each time the system starts up.
Thus, it would seem that the “rc” part stands for “runcom”, which I believe can be expanded to “run commands”. In fact, this is exactly what the file contains, commands that bash should run.
obscure linux tools useful for a systems engineer
Link: Cool, but obscure unix tools :: KKovacs.
Noteworthy mentions: dstat, sar, htop, iotop, iftop, mtr, socat, multitail and powertop.
redirecting pages to external links in wordpress.com blogs
Link: Page tabs as extra links
Panos from wptips was able to figure out a way to redirect pages to external links in hosted wordpress.com blogs.
A page tab can work as a link to another webpage. The way to do that is publish a blank page with a link to that webpage in its title box. Html code model:
<a href=”URL OF WEBPAGE HERE”>NAME HERE</a>
Officially you cannot have html code in title boxes (it either gets stripped out or shows up as plain text instead of producing the intended result). But when I experimented with the link code, I found it works – on one (still mysterious to me) condition: the link name must include a space. So a single word won’t do; two or more words, or one word plus a space, will.
Note 1: You can’t make such a link open in a new browser window: the code for that gets stripped out.
Note 2: Linking to another webpage includes the dynamic pages of your blog; so the trick can also be used e.g. for creating a “Home” header tab in themes that don’t have one, or for turning a post category into a header tab.
Note 3: For a Home tab in particular, there’s a better alternative – (free of the problems explained below): add a new page, title it Home, save draft, change slug to “index-php”, click ok, publish. (Thanks to Elizabeth for sharing.)
Neat. Now I’m able to redirect the About tab to my Google profile.
Installing Xvfb on Ubuntu
Link: Installing Xvfb on Ubuntu
Xvfb ( X Virtual Framebuffer ) installation involves the following:
apt-get install xvfb x11-xkb-utils xfonts-100dpi xfonts-75dpi xfonts-scalable xfonts-cyrillic x11-apps
Test Xvfb – by running this command:
xvfb-run xclock
The above command launches xclock (if installed, if not installed it just exits) and waits for you to key in CTRL+C to cancel it.
downgrade rubygems
There is a sane way to downgrade rubygems version from the gem utility.
Assuming you want to downgrade to 1.5.3
sudo gem update –system 1.5.3
This is useful when a certain application or gem wont work with the latest version of rubygems. Note, the — above is double hyphens.