If you want to find the relationship between files on your system and RPM packages (which one owns/belongs-to which) then this page will be of help to you.
1. Contents of an RPM package
1.1.1. This RPM command will show you the contents of a package which is already installed on your system:
rpm -ql […]
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 […]
The below information was shamelessly copied, word for word, from http://mike.kruckenberg.com 🙂
Changing end-of-line Mode in Emacs (replaces ^M line return)
Every now and then I run into this. I export CSV data from Excel and find that when trying to use it in other places the line-returns aren’t quite right and unix tools […]
PROBLEM: On certain Linux distributions removable media (USB flash drives, CD’s,…) are auto-mounted by default and all users can read and write to them (if media is writeable of course). On others, inserting a removeable media results in an error message similar to Failed to mount “200GB Volume”, e.g. an error message from your file-manager […]
After installing the VirtualBox software from Oracle start it up. Depending on your distribution and window manager it will be in the “System’ start menu or it may be somewhere else.
Create a new Virtual Machine (e.g. another Linux box with Fedora – select these from the ‘OS Type’ drop-down boxes). You may select […]
There may be several possible causes why one would not be able to access their Windows hard disk or windows partition. If we assume that obvious human errors are out of the question (e.g. permissions errors due user not having write permissions to the directory of the mount or user not specifying the ‘-o w’ […]
This post will be dedicated to gcc’s command line options and various other questions related to compiling/building your code with gcc. For example…
——————–
How can I get gcc to generate assembly code for my C file:
gcc -O2 -S -c foo.c
——————–
How can I tell gcc to generate […]
“Moving a branch” may mean two things:
1. Move the contents (the commits, the changes) associated with a branch name somewhere else in the repository.
2. Move the branch name (not the code changes!) to point to some other commit.
Let’s examine the two possibilities in detail:
1. Move branch contents and name:
This case […]
Problem:
Depending on your Linux distribution, the text displayed by the ‘man’ command (or any other text piped into ‘less’ for that matter) may stay on your screen upon exit from man/less or be cleared from your screen upon exit. Many people find it useful to have the man page text stay on the screen, […]
QUESTION: Where is my wine’s C: drive?
SHORT ANSWER: /home/$USER/.wine/drive_c
-
Categories
- Android Development
- Bash
- C programming
- dpkg/apt-get
- drupal
- Emacs
- Git
- Java
- Linux administration
- Linux device drivers
- Linux Gaming
- Linux kernel
- Linux Networking
- Linux on Windows
- Linux printing
- Linux sound and ALSA
- Package Managers
- Programming
- RPM
- Shell and environment
- Tips and tricks
- Uncategorized
- VirtualBox
- Virtualization
- web development
- wine
- WMaker
- Wordpress Tips
- X Window System
- XFCE
-
Articles
- August 2020
- August 2019
- May 2019
- July 2017
- February 2017
- January 2017
- November 2016
- October 2016
- September 2016
- August 2016
- July 2016
- June 2016
- April 2016
- March 2016
- December 2015
- November 2015
- September 2015
- June 2015
- May 2015
- April 2015
- March 2015
- February 2015
- January 2015
- December 2014
- October 2014
- February 2014
- January 2014
- November 2013
- October 2013
- June 2013
- April 2013
- March 2013
- February 2013
- January 2013
- December 2012
- October 2012
- August 2012
- July 2012
- June 2012
- May 2012
- April 2012
- March 2012
- February 2012
- September 2011
- August 2011
- June 2011
- May 2011
- April 2011
- March 2011
- February 2011
-
Meta
Cloud
audio bash boot compile C programming cups drupal emacs etc Fedora git grep how to httpd init kernel libc linux linux partition localtime login make mount mp3 mysql networking oracle package managers password phpMyAdmin programming rpm shell sql vbox version control system virtual box vm web server wordpress www xargs xfce xwin yum