From c4af834b4bf751deafa1547404c736279d99050e Mon Sep 17 00:00:00 2001 From: Mahesh Asolkar Date: Sun, 19 Apr 2020 13:19:47 -0700 Subject: [PATCH] Added uptodate function in root.bashrc --- root.bashrc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/root.bashrc b/root.bashrc index 40a1668..7f4bee4 100644 --- a/root.bashrc +++ b/root.bashrc @@ -36,3 +36,7 @@ function hgrep () { function pgrep () { ps aux | grep $1 } + +function u2d () { + apt update && apt full-upgrade -y && apt autoremove -y +}