View: Fonctions utiles en shell

  1. 3 months ago by yoko
    function apt-search (){
      apt-cache search "$@" | grep -v '^lib' | sort;
    }
    
    function prs (){
      ps faux | grep -v 'grep' | grep "$@" | sed -e 's/^\([^ ]*\) *\([0-9]*\) .*:[0-9][0-9] \(.*\)$/\1 \2 \3/g'
    }

0 comment about "Fonctions utiles en shell"