annoying apt install command

 I don't know if you've seen apt go berserk asking you about whether to install package maintainer config files and blather on about what it is doing, it is way too verbose and annoying. This shellscript takes input as the apt package name and doesnt say anything except ok or fail


#!/bin/bash


export DEBIAN_FRONTEND=noninteractive


apt-get install -y $1 > /dev/null && echo OK || echo FAIL

Popular posts from this blog

Automatically Fix Song Metadata and Filenames on Linux with Beets

throttle traffic on apache

script to show all files with disk usage sizes