Jump to content
View in the app

A better way to browse. Learn more.

Mopar1973Man.Com LLC

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Simple update script for your Ubuntu PC.

  • Owner

I know there is the standard app that you can click on the menu, but I tend to like to do all at once kind of mode.

#!/bin/bash
sudo apt-get update
sudo apt-get -y upgrade
sudo apt-get -y autoclean
sudo apt-get -y autoremove

This simple script paste into a text editor like Gedit. Then save this file as "upgrade.sh" without the quotes preferred to save in a like a script folder. Now in terminal, go to your script folder. Example...

cd /home/michael/scripts

Then you would run your script by...

sh upgrade.sh

This should have your Ubuntu going out to the internet to grab a new copy of the software database and check to see what is new, which is the update option. Next, the upgrade option is used, and the -y switch forces the answer "yes" to upgrading all files. Then it will download all files required, and still under this command, it will install all upgrades to all software on your Linux PC. The autoclean option will search for files no longer being used and automatically remove them, like old installation scripts. The autoremove hunts down the out-of-date files no longer used and removes the rest. This keeps your system clean!

No more are the days of should I delete these .dll files on Windows just to find out you just nuked the entire system and had to rebuild. Then the whole upgrade Microsoft separately from your 3rd party programs because it's a commercial platform so all your 3rd party software you have hunt down. Nope, that is over two being that all Linux software is available typically free and covering many platforms. (Debian, Red Hat, etc.)

  • Views 11
  • Created
  • Last Reply

Featured Replies

No posts to show

Create an account or sign in to comment

Account

Navigation

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.