Skip to main content
9 votes

Making `apt-get` read answers from stdin on graphical Ubuntu

This doesn’t answer your question as summarised in the title, but for well-designed packages that use debconf for configuration, the correct way to pick answers non-interactively is to set them ahead ...
Stephen Kitt's user avatar
1 vote

Is it possible to silence the initial call in xtrace, when BASH_XTRACEFD is set?

This is my current best effort to answer my own question. Thank you to everyone else, who answered, it's all based on your ideas! #!/usr/bin/env bash : shown 1 { exec 2>&3 # restore ...
anick's user avatar
  • 601
1 vote

one-liner vs script

Perl's one-liner is a kind or small art, where concision meet efficiency. They’re especially handy for quick file and text manipulations without writing boilerplate file‑handle code. For sure, this ...
Gilles Quénot's user avatar

Only top scored, non community-wiki answers of a minimum length are eligible