The yum repos are described in files which are stored in /etc/yum.repos.d/ . So if you want to remove a yum repo you just gotta go to that dir and remove the file in question. It’s more or less obvious why one would want to add a new repo (to get stuff from it!) but […]
etc
Fixing wrong Shift+Numpad (keypad) behaviour in Emacs
I struggled for a about an hour today with S-kp-home trying to bind it to something that would work properly in emacs (i.e select the text between cursor and start of line) before I figured out that although the problem manifested itself in Emacs, it is really due to the way Xwindows maps the Shift+Home/End… […]
How to change my terminal prompt (PS1)
On newer distributions you can easily change your terminal prompt, (which is controlled by the PS1 environment variable, btw) by adding a file with the prompt format string to the /etc/profile.d directory. You may name the file whatever you like, e.g. set-prompt.sh, but make sure that inside it there is a line that sets PS1 […]
INIT: cannot execute “/etc/init.d/rcS” (or rc)
PROBLEM: The Linux init process gets an error that looks like this (in the stderr output): INIT: cannot execute “/etc/init.d/rc” Several things may cause this error but in my case it was happening because the rc script had #! /bin/sh on the first line, and /bin/sh was missing. SOLUTION: In /bin provide a link called […]