Lisp as a system management language
Just the start of a though for now, but something like:
(def! apt-install (fn* (names) (apply exec "/usr/bin/apt-get" "install" names))
apply
takes a function and a list of arguments, where the last argument is a list. It spices the last argument with the others and then calls the function with the combined list.