a guest May 26th, 2019 51 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
- # Stephan Kuschel, 2019
- # Works the regex grabbing the printers requires works if computer is set to german. Change sed cmd
- # accordingly if this is not the case.
- lpstat -s | grep null | sed 's#Gerät für \(.*\): ///dev/null#\1#' | xargs -n1 lpadmin -x
RAW Paste Data