diff --git a/.bashrc.d/10-alias.bash b/.bashrc.d/10-alias.bash index b882895..8f023e4 100644 --- a/.bashrc.d/10-alias.bash +++ b/.bashrc.d/10-alias.bash @@ -30,8 +30,8 @@ alias printuuid='blkid -o value -s UUID' # Output only the PARTUUID of the target device alias printpartuuid='blkid -o value -s PARTUUID' -# Show count of updates from checkupdates -alias countupdates='checkupdates | wc -l' +# Show count of updates after the output of checkupdates +alias countupdates='checkupdates | tee >(wc -l)' # Grep through updates listed by checkudpdates alias grepupdates='checkupdates | grep'