Menu

Post image 1
Post image 2
1 / 2
0

Ubuntu Updated!!

DEV Community·pabli44·about 1 month ago
#jq2V1aC6
#webdev#linux#kernel#programming#file#sudo
Reading 0:00
15s threshold

pabli44

Want to keep Ubuntu updated?

Run these commands on your PC via terminal, or create a .sh file and add the following commands:

Bash
sudo apt update &&
sudo apt full-upgrade -y &&
sudo apt autoremove --purge -y &&
sudo du -sh /var/cache/apt/archives &&
sudo apt clean

If you don't know how to create the .sh file, no problem! Just navigate to the folder in your terminal and run the following:

touch file.sh ----> creates the file
nano file.sh -----> opens the file in the terminal

Finally, add the previous commands to the file, press CTRL + X. This will ask if you want to save the changes; press Y.

How do you run it? Go to the folder where the file is located and run: sh file.sh

You know, enjoy learning!!

Read More