Skip to content

I made this script for easy and quick run a update, upgrade and clean my Ubuntu through terminal. Enjoy and colaborate!

Notifications You must be signed in to change notification settings

eudennis/ubuntu-update-and-clean-script

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 

Repository files navigation

Ubuntu Update, Upgrade and Clean Script

I made this script for easy and quick run a update, upgrade and clean my Ubuntu through terminal. Enjoy and colaborate!

Obs.: This should work with any Linux distro.

Create and alias for the script

  • Create/Open the Bash_Aliases file with: sudo gedit .bash_aliases
  • Create and alias for the script with: alias update='sudo ./update-and-clean.sh' *
  • Give the script permission to run with chmod u+x update-and-clean.sh
  • Close and open the terminal to load the .bash_aliases file e run with 'update'

You can use any alias, like "updateandclean='X'" or put the file in any directory. In this example, my file is on my user home folder.

You can also rename as ".update-and-clean.sh" (with dot at the beggining) to hide it inside the directory.

About

I made this script for easy and quick run a update, upgrade and clean my Ubuntu through terminal. Enjoy and colaborate!

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages