The Linux Pages

Month: May 2012

Deleting print jobs in Linux (…and other printer problems…)

31 May 20127 January 2014 ench0 Leave a comment Linux administration, Tips and tricks

The command to remove a stuck print job in Linux (CUPS): $ lprm =============== To list HP printers visible across the network: $ hp-probe =============== HP_LaserJet_P2055dn Paused – “/usr/lib/cups/backend/hp failed” SOLUTION: Printer state must be set to “Enabled” # sudo system-config-printer

Continue reading


Make emacs grep/grep-find ignore .svn directories

28 May 2012 ench0 Leave a comment Emacs

Emacs grep and grep-find command used to work great for me until I started working with SVN and all those .svn directories started popping up in my emacs grep searches… So how can we make the emacs grep-find command ignore all the .svn directories? Being mostly a “git” guy, and having been recently introduced to […]

Continue reading


How to uninstall the old kernels in Ubuntu (and grub)

1 May 201228 May 2012 ench0 1 Comment dpkg/apt-get, Linux administration, Package Managers

How can we remove the unused linux kernels and at the same time have our boot configuration (grub’s entries in the grub cfg menu) updated? First we want to list all the kernel-related packages, like linux-image and linux-headers, linux-generic, etc: $ dpkg -l linux-* On my 10.04 Ubuntu system the above command results in the […]

Continue reading


How-to check my Linux distro (not kernel!) version

1 May 20122 May 2012 ench0 1 Comment Linux administration, Tips and tricks

To check your Linux distribution version (i.e. release)… —————————- On Ubuntu/Debian: cat /etc/lsb-release or cat /etc/debian_version —————————- On RedHat/Fedora: $ cat /etc/fedora-release —————————- On Slackware: cat /etc/slackware-version —————————-

Continue reading


Tags

bash boot compile C programming drupal drush emacs etc ethernet Fedora git grep how to html httpd init kernel linux linux partition login mariadb mount mysql networking oracle package managers password phpMyAdmin programming rpm shell sql ssh vbox version control system virtual box vm web server win32 wordpress www xargs xfce xwin yum

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
dazzling Theme by Colorlib Powered by WordPress