Support
Forums

Re: New install setup

Heh, probably more ways to do that than I care to imagine  .. easiest mechanism that springs to mind;Code Select Expandvi packages# enter names of packages, hit return after each one# :wq to quit editorapt install `cat packages`So "cat packag...
Heh, probably more ways to do that than I care to imagine :) .. easiest mechanism that springs to mind;
vi packages
# enter names of packages, hit return after each one
# :wq to quit editor
apt install `cat packages`

So "cat packages" is "copy-at-terminal", or just output the contents. The "ticks" around `cat packages` are actually "backticks", which mean evaluate the contained command .. so apt install followed by an evaluation of "cat packages" would equate to "apt install package1 package...

About the author

Mad Penguin

Mad Penguin is a Linux forum administrator and moderator.