Article 5F9ZA hiding apt output and showing dots

hiding apt output and showing dots

by
aristosv
from LinuxQuestions.org on (#5F9ZA)
I am trying to have a simple dot running while apt installs software

Code:#!/bin/bash

while apt install -y php &>/dev/null; do
echo -n "."
sleep 1
doneI'm doing something wrong, because I think this installs php and then starts displaying the dots.latest?d=yIl2AUoC8zA latest?i=_rzpoCEoP_U:ReTwdxM2mFM:F7zBnMy latest?i=_rzpoCEoP_U:ReTwdxM2mFM:V_sGLiP latest?d=qj6IDK7rITs latest?i=_rzpoCEoP_U:ReTwdxM2mFM:gIN9vFw_rzpoCEoP_U
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments