The Linux Pages

xargs

The linux ‘find’ command by example

15 September 201512 January 2016 ench0 Leave a comment Bash, Shell and environment

find ~ -type f -name “.*” FIND the hidden files in your home directory (~) find . -name *~ -type f -delete Delete all files ending in ~ find . -name *.svn -type d -print0 | xargs -0 /bin/rm -rf Delete all .svn files under current dir find . -name *.c -perm /u+x -type f […]

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


HowTo: Listing (changed/untracked) files in git

20 April 201228 May 2012 ench0 1 Comment Git, Shell and environment

When working with git it may often be convenient to get a (pure) list of files to give to some other command (e.g. astyle). This may be implemented as a trigger on the server but that has its pros and cons. Listing the modified files and processing them locally is the safest way as this […]

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