Gitea Onion + Bash/Linux Scripting Lesso ...

Gitea Onion + Bash/Linux Scripting Lesson! Pipes, Automatic Upgrade Script + More!

Apr 10, 2021

If you are getting started with Linux and are curious of its mythical power, you are going to love Bash scripting. Are you ready to harness the power of the full power of the Linux/UNIX/mac OS X commandline? :)

I designed this tutorial to teach you what you need to know to get started with basic bash scripting. For a refresher, I previously introduced the basics in navigating/self teaching (tips) instructions for the Linux commandline here (new video further down page):

https://youtu.be/-ppKQz0pyl0

In today's lesson, we go over the basics in shell scripting. I cover the the layout, how "everything is a command". We start by defining a few definitions, then variables, moving onto taking input, filtering our search results using pipes and grep, even redirecting output to a logfile using a couple examples we write along the way.

Later in the tutorial video I teach you how to write your own automatic upgrade script for Mobian/Debian based systems from scratch (tested out on Pinephone running Mobian). I break down each line in a way the newest newbie can understand. You can find that automatic upgrade script here (from Tor browser) on my public Tor Hidden Service (.onion) Git website (includes an easy install script to automatically set everything up/install for you + start/enable it):

http://gg6zxtreajiijztyy5g6b5o6l3qu32nrg7eulyemlhxwwl6enk6ghad.onion/RightToPrivacy/debian-autoupgrade

The above link even includes a simple install script to automate the entire setup.


If you want to grab the script with 'git' command (video on this later), simply run (while on a Tor router or use the torify command/Anonsurf):

OPTION #1:

git clone http://gg6zxtreajiijztyy5g6b5o6l3qu32nrg7eulyemlhxwwl6enk6ghad.onion/RightToPrivacy/debian-autoupgrade.git


OPTION #2:

torify git clone http://gg6zxtreajiijztyy5g6b5o6l3qu32nrg7eulyemlhxwwl6enk6ghad.onion/RightToPrivacy/debian-autoupgrade.git


This can be a great introduction for the beginner looking to grab ahold of the power of the commandline. Shell scripts allow you to automate and combine commands in ways only limited by your own creativity. No previous Linux experience is needed. I try to break everything down into small pieces even the newest newbie can understand.

The bash scripting tutorial video is here (to skip straight to the tutorial part jump to 04:07):

https://youtu.be/d8uNzb4BU


I hope this gives you the initial primer you need to get started. And if you have any questions, leave a comment! :)

If you want me to continue on this tutorial series, let me know in the comments below.

And while you are at it, give this link a share to Linux friends!

Thank you for reading.


Like content/videos like this? Share with friends/family who care about their Online Safety.


If you would like to show support work like this, options are listed below, and on Front Page.

Thank you for Sharing this article with others.

----------------------------------------------------------------------
πŸ§…πŸ” ANONYMOUS GITEA (.onion): Books, Code/Scripts, Wiki (work in progress), more
πŸ§…πŸ” PASTEBIN (.onion): options- password, zk-256bit, "Burn After Reading" + more
----------------------------------------------------------------------
SUPPORT OPTIONS (If you like):
πŸ’²CASHAPP
βœπŸ—’πŸŽž BMAC (supporter membership link)
πŸ’³ BTC: Current Address Found Here
MONERO(XMR):481wHzXEsW9E519uu3SiynMuGe1yUT43iiJ8M49fgxfngHr9MUPVNAmPgyjS4XYtvzD1TbK7P5ywUWhGo11ibT2RQhEcRSX
----------------------------------------------------------------------
FOLLOW:
βœπŸ—’MASTODON
🐦 TWITTER
🎞 PEERTUBE
🎞 BITCHUTE
🎞 ODYSEE
---------------------------------------------------------------------
EXTRAS: (Get something back for your Support)
---------------------------------------------------------------------
βœ‰ CONTACT
-------------------------------------------------------------------------
THANK YOU for Sharing this, Liking, and Subscribing.
-------------------------------------------------------------------------
If you aren't registered for Odysee I'd love to see you over there.
Use my invite link: https://odysee.com/$invite/@RTP
--------------------------------------------------------------------------

Enjoy this post?

Buy πŸ₯· (RTP) Privacy Tech Tips πŸ“‘ a coffee

2 comments

More from πŸ₯· (RTP) Privacy Tech Tips πŸ“‘