Completing Our Bash Script - More With Variables, Arrays And If-Then Statements

  Рет қаралды 7,108

DistroTube

DistroTube

Күн бұрын

In this video, I'm going to continue to work on our bash script from the video I did a couple of weeks ago.
REFERENCED:
► The first video: • Bash Scripting - Varia...
► The completed script: gitlab.com/dwt...
WANT TO SUPPORT THE CHANNEL?
💰 Patreon: / distrotube
💳 Paypal: www.paypal.com...
🛍️ Amazon: amzn.to/2RotFFi
👕 Teespring: teespring.com/...
SOCIAL PLATFORMS:
🗨️ Mastodon: mastodon.techn...
💬 IRC: irc://freenode #distrotube
👫 Reddit: / distrotube
DT ON THE WEB:
🕸️ Website: distrotube.com/
🌐 Gopherhole: gopher://distro.tube
📁 GitLab: gitlab.com/dwt1
FREE AND OPEN SOURCE SOFTWARE THAT I USE:
📽️ Open Broadcaster Software: obsproject.com/
🎬 Kdenlive: kdenlive.org
🎨 GIMP: www.gimp.org/
🔊 Audacity: www.audacityte...
💻 VirtualBox: www.virtualbox...
Your support is very much appreciated. Thanks, guys!

Пікірлер: 20
@RichardServello
@RichardServello 4 жыл бұрын
I LOVE bash. I use it to automate many tasks in my job. Using it right now to automatically generate shots (vfx production) based on the master to streamline the process on 20+ shots in a sequence.
@RonnieNissan
@RonnieNissan 4 жыл бұрын
You could use xargs -r after the dmenu and the emacsclint commands so if you choose nothing, it'll just exit.
@AnzanHoshinRoshi
@AnzanHoshinRoshi 4 жыл бұрын
Thank you, Derek. I like bash.
@gianniprocida3332
@gianniprocida3332 2 жыл бұрын
I love your channel. Thank you
@Krishnan172
@Krishnan172 2 жыл бұрын
This is worth the buck & we got this for free in 20min
@DigvijayPatankar
@DigvijayPatankar 4 жыл бұрын
vim does have file manager inbuilt into it just like dired in emacs.
@kiranbhanushali7069
@kiranbhanushali7069 4 жыл бұрын
Which linux distro is? Any customization on panel?
@eglinfo1
@eglinfo1 Жыл бұрын
I think I found a mistake in your command to get filenames only. I tried it and the result of one file like "test app" came out only as "test".
@drizzle8915
@drizzle8915 4 жыл бұрын
What linux os is he using? It looks fricking dope
@kylebriffa7
@kylebriffa7 4 жыл бұрын
Arch i think
@Cyanwasserstoff
@Cyanwasserstoff 4 жыл бұрын
Thank you Derek aka @Distrotube for a great video and yeah, at least for me it was easy to follow, but I had basic C++ programming in school. Is Bash also capable of when (), do while commands ?
@DistroTube
@DistroTube 4 жыл бұрын
There are "while" loops in bash. And "for" and "until" loops as well.
@Cyanwasserstoff
@Cyanwasserstoff 4 жыл бұрын
@@DistroTube Thanks for the answer
@CoinDropsUnleashed
@CoinDropsUnleashed 4 жыл бұрын
how create same your panel on my bspwm?? i m look you dotsfile on gitlab and i confused :(
@Tb0n3
@Tb0n3 4 жыл бұрын
You kind of made `ls -1` a lot more complicated.
@DistroTube
@DistroTube 4 жыл бұрын
ls -1 -d */ #certainly makes things a bit simpler.
@RichardServello
@RichardServello 4 жыл бұрын
Ls errors if the result is empty. I always use find. It's not as fast sometimes but it doesn't break on empty results.
@RichardServello
@RichardServello 4 жыл бұрын
find $myDir -mindepth 1 -maxdepth 1 -type d | xargs basename -a
@razorgarf
@razorgarf 4 жыл бұрын
Unbash Trump
Bash Scripting - Variables, Arrays, If-Then-Else
38:52
DistroTube
Рет қаралды 46 М.
Chown, Chmod and Shell Aliases
22:07
DistroTube
Рет қаралды 13 М.
Modus males sekolah
00:14
fitrop
Рет қаралды 10 МЛН
КТО ЛЮБИТ ГРИБЫ?? #shorts
00:24
Паша Осадчий
Рет қаралды 4,4 МЛН
Vim Tips And Tricks Some Of My Favorite Vim Commands
17:05
DistroTube
Рет қаралды 64 М.
Learning Awk Is Essential For Linux Users
20:02
DistroTube
Рет қаралды 296 М.
How to Use Arrays and For Loops in Bash (Part I)
9:03
root tech
Рет қаралды 7 М.
File Globbing In Linux
8:17
DistroTube
Рет қаралды 22 М.
The Different Shells Available In Emacs
17:21
DistroTube
Рет қаралды 26 М.
Bash Scripting 6 -- 'If' and Testing Explained
20:04
tutoriaLinux
Рет қаралды 58 М.
Compilers, How They Work, And Writing Them From Scratch
23:53
Adam McDaniel
Рет қаралды 172 М.
C++ vs Rust: which is faster?
21:15
fasterthanlime
Рет қаралды 392 М.
What Are The Benefits Of Emacs Over Vim?
29:44
DistroTube
Рет қаралды 175 М.
Fish Is A Modern Shell For The Sophisticated User
15:56
DistroTube
Рет қаралды 212 М.