Bash Shell Scripting Tutorial for Beginners | Empty Trash Bin Periodically | Ep#7 (Linux Terminal)

Channel:
Subscribers:
71,700
Published on ● Video Link: https://www.youtube.com/watch?v=t_xgSr6z2Ks



Category:
Tutorial
Duration: 10:48
2,063 views
85


Bash Shell Scripting Tutorial for Beginners a scripting tutorial creating a script to empty the Trash Bin periodically. Script Using Bash on Linux. You can use most Linux/Unix operating systems (we'll use Ubuntu) and I'll be doing this Bash Shell Scripting Tutorial for Beginners on Ubuntu today. This is part of a mini-series for beginners scripting on Linux.

Today we are going to do some Bash Shell Scripting and create a script that can save a users input and then delete the contents of the folder supplied. We will use the Trash Bin as an example and go through all the code line by line. You can build off this script and create your own or simply add it to a crontab/job that can run periodically or on boot.

My Linux Cheat Sheet and 25 Page Checklist here:
📚 https://learn.savvynik.com

Share this free tool and support Small YouTubers
https://editbulk.com
(I made this tool to help creators)

Want more info/content?
https://savvynik.com

📺Top/Latest Videos:
Setup Visual Studio Code on Linux (C++) - https://youtu.be/pu1XNDwQPl0
Install Windows Programs on Ubuntu 20.04 (wine) - https://youtu.be/Twp8UBh9DQ8
Kali Linux Install Tutorial - https://youtu.be/gMY216MCms4
Terminal Absolute Basics for Beginners - https://youtu.be/Us3G-nJYru0
Ubuntu 20.04 Install Tutorial - https://youtu.be/CFI1Jt8kVUk
Pop OS 20.04 Updates - https://youtu.be/krSEofL7-dc
C++ Episode #10 Debugging w/ VSCode - https://youtu.be/9VpiGwp8Vos
Debian 10 Buster Install Tutorial - https://youtu.be/dbjDG6GV6VM
Arch Linux Dual Boot with Windows 10 - https://youtu.be/C3D_qzw94v8
Linux Mint Install Tutorial - https://youtu.be/m7TX_udR95k
Fedora Install Tutorial - https://youtu.be/4qmPDKPck68
CentOS 8 Install Tutorial - https://youtu.be/FLl2DETdww4

📺Playlists:
Linux Installation Tutorials:
https://www.youtube.com/playlist?list=PLKMOdY6Bhga79HzhzEV0pSx5asSXogalI

Linux Help & Talks:
https://www.youtube.com/playlist?list=PLKMOdY6Bhga73aciZtlZgLmiKRdrQzyu0

Linux Reviews & Updates:
https://www.youtube.com/playlist?list=PLKMOdY6Bhga5fAJjr4ItXN09KXf4dd0zz

C/C++ Linux Programming Series:
https://www.youtube.com/playlist?list=PLKMOdY6Bhga7BUgPca5EX1J-JYQIbX5fn

Bash Shell Scripting for Beginners:
https://www.youtube.com/playlist?list=PLKMOdY6Bhga5fmUcQQwhfL9thR_Yp1hZ7

Linux Virtual Machine Installs:
https://www.youtube.com/playlist?list=PLKMOdY6Bhga6P1N38oD63-uKe4a6M5vsZ
__

Useful Links:
#linux #linuxtutorial #bash
Discord: https://discord.gg/P9QC2km

Make sure to Subscribe for Future Installs, Reviews, and Tips!!!




Other Videos By SavvyNik


2020-06-16Linux Mint 20 Update Review (Uylana) | Warpinator and System Updates
2020-06-14Python Tutorial for Beginners - Reading & Writing Files - (Windows 10 | Visual Studio Code)
2020-06-12Web Server Install on CentOS 8 Linux and Firewall Use | (Linux Beginners Guide)
2020-06-09How to Install CentOS 8 Linux | (Linux Beginners Guide)
2020-06-08Python Tutorial for Beginners - Modules & Input/Output - (Windows 10 | Visual Studio Code)
2020-06-06Python Tutorial for Beginners - Programming More Data Structures - (Windows 10 | Visual Studio Code)
2020-06-04Help using Linux Terminal Commands for the First Time | Linux Man Pages | (Linux Beginners Guide)
2020-06-02Ubuntu Server 20.04 LTS Install - (Step by Step Tutorial For Beginners)
2020-05-31Python Tutorial for Beginners - Programming Data Structures - (Windows 10 and Visual Studio Code)
2020-05-30Python Programming Beginners - Functions! before the SpaceX Launch - (Windows 10 Visual Studio Code)
2020-05-29Bash Shell Scripting Tutorial for Beginners | Empty Trash Bin Periodically | Ep#7 (Linux Terminal)
2020-05-27Python Tutorial for Beginners - Prime Numbers Example - (Windows 10 Visual Studio Code)
2020-05-25Task Scheduling in Linux - CronTab Command and How to Create/Use a Cron Job
2020-05-24Python Tutorial for Beginners - Fibonacci Series/Sequence - (Windows 10 Visual Studio Code)
2020-05-23Python Tutorial for Beginners - Rock, Paper, Scissors 📄✂️- (Windows 10 Visual Studio Code)
2020-05-23Python Tutorial for Beginners - Setup and our First Python Program - (Windows 10 Visual Studio Code)
2020-05-21For Loops, Continue, and Break on Linux | Bash Shell Scripting Tutorial for Beginners Ep#6 (Ubuntu)
2020-05-19Arch Linux Install and Dual Boot with Windows 10 (UEFI) | Step by Step w/ Networking Tutorial
2020-05-17Parrot OS Security Install and Dual Boot with Windows 10 | Step by Step Guide
2020-05-15How to Install Cygwin on Windows 10 - Use Linux Commands in Command Prompt on Windows 10 Today!
2020-05-12Bash Shell Scripting Tutorial for Beginners | Command Line Arguments | Ep#5 (Linux Terminal)