sobota, 7 marca 2015

fast and easy good condition of system

apt-get update && apt-get upgrade && apt-get autoremove && apt-get clean




ok, and better use alias
some like my:
alias systemnew='apt-get update && apt-get upgrade && apt-get autoremove && apt-get clean'

on "systemnew" - this is Your alias, You can use /almost/ what You can.

When You want use this alias ewerytime, edit .bashrc


leafpad ~/.bashrc


add "alias systemnew='apt-get update && apt-get upgrade && apt-get autoremove && apt-get clean'" on end of file, save and ready !

One command "systemnew" and all upgrade and clean :)


After edit and save - type on terminal "exec bash" !!!!!



Brak komentarzy:

Prześlij komentarz