Bash Shell Scripting Tutorial for Beginners | Empty Trash Bin Periodically | Ep#7 (Linux Terminal)
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!!!