initial commit
This commit is contained in:
15
custom-cmds-in-ubuntu/bin_examples/y2upgrade
Normal file
15
custom-cmds-in-ubuntu/bin_examples/y2upgrade
Normal file
@ -0,0 +1,15 @@
|
||||
#!/bin/bash
|
||||
###################################
|
||||
############ by Sthope ############
|
||||
###################################
|
||||
|
||||
## nano ~/.bashrc
|
||||
## and add this to the end of the file: export PATH=$PATH:~/bin
|
||||
## sudo chmod +x ~/bin/*;su -l $USER
|
||||
|
||||
#### USAGE
|
||||
# Type "y2upgrade" ans it will use first sudo apt-get update then sudo apt-get upgrade -y
|
||||
# and it will update and upgrade system
|
||||
|
||||
sudo apt-get update
|
||||
sudo apt-get upgrade -y
|
Reference in New Issue
Block a user