Uploaded March 2025 | Updated November 2026, 1 day ago
In the last couple of weeks, I've been scripting a bit. In this video, I walk you through a bash script that I created to manage your "autostart" programs.
REFERENCED:
βΊ gitlab.com/dwt1/fzscripts
WANT TO SUPPORT THE CHANNEL?
π° Patreon: patreon.com/distrotube
π³ Paypal: youtube.com/redirect?event=channel_banner&redir_token=QUFFLUhqazNocEhiaGFBT1l1MnRHbnlIcHFKbXJWVnpQd3xBQ3Jtc0tsLVZJc19YeFlwZ2JqbXVOa3g0Skw4TVhTV2otNm1tM3A1bUNnamh3S2V6OGQtLTBnSjBxYTlvUXMxeEVIS3o4US10NENHMUQ3STk2a01FOFBhUnZjZFctMEhFUTg1TVctQmFfVUdxZXJ4TDl0azlYNA&q=https%3A%2F%2Fwww.paypal.com%2Fcgi-bin%2Fwebscr%3Fcmd%3D_donations%26business%3Dderek%2540distrotube%252ecom%26lc%3DUS%26item_name%3DDistroTube%26no_note%3D0%26currency_code%3DUSD%26bn%3DPP%252dDonationsBF%253abtn_donateCC_LG%252egif%253aNonHostedGuest
ποΈ Amazon: amzn.to/2RotFFi
π Teespring: teespring.com/stores/distrotube
DT ON THE WEB:
πΈοΈ Website: http://distro.tube
π GitLab: gitlab.com/dwt1
π¨οΈ Mastodon: fosstodon.org/@distrotube
π« Reddit: reddit.com/r/DistroTube
π½οΈ Odysee: odysee.com/@DistroTube:2
FREE AND OPEN SOURCE SOFTWARE THAT I LIKE:
π Brave Browser - brave.com
π½οΈ Open Broadcaster Software: obsproject.com
π¬ Kdenlive: kdenlive.org
π¨ GIMP: gimp.org
π» VirtualBox: virtualbox.org
ποΈ Doom Emacs: github.com/hlissner/doom-emacs
Your support is very much appreciated. Thanks, guys!
In the last couple of weeks, I've been scripting a bit. In this video, I walk you through a bash script that I created to manage your "autostart" programs.
REFERENCED:
βΊ gitlab.com/dwt1/fzscripts
WANT TO SUPPORT THE CHANNEL?
π° Patreon: patreon.com/distrotube
π³ Paypal: youtube.com/redirect?event=channel_banner&redir_token=QUFFLUhqazNocEhiaGFBT1l1MnRHbnlIcHFKbXJWVnpQd3xBQ3Jtc0tsLVZJc19YeFlwZ2JqbXVOa3g0Skw4TVhTV2otNm1tM3A1bUNnamh3S2V6OGQtLTBnSjBxYTlvUXMxeEVIS3o4US10NENHMUQ3STk2a01FOFBhUnZjZFctMEhFUTg1TVctQmFfVUdxZXJ4TDl0azlYNA&q=https%3A%2F%2Fwww.paypal.com%2Fcgi-bin%2Fwebscr%3Fcmd%3D_donations%26business%3Dderek%2540distrotube%252ecom%26lc%3DUS%26item_name%3DDistroTube%26no_note%3D0%26currency_code%3DUSD%26bn%3DPP%252dDonationsBF%253abtn_donateCC_LG%252egif%253aNonHostedGuest
ποΈ Amazon: amzn.to/2RotFFi
π Teespring: teespring.com/stores/distrotube
DT ON THE WEB:
πΈοΈ Website: http://distro.tube
π GitLab: gitlab.com/dwt1
π¨οΈ Mastodon: fosstodon.org/@distrotube
π« Reddit: reddit.com/r/DistroTube
π½οΈ Odysee: odysee.com/@DistroTube:2
FREE AND OPEN SOURCE SOFTWARE THAT I LIKE:
π Brave Browser - brave.com
π½οΈ Open Broadcaster Software: obsproject.com
π¬ Kdenlive: kdenlive.org
π¨ GIMP: gimp.org
π» VirtualBox: virtualbox.org
ποΈ Doom Emacs: github.com/hlissner/doom-emacs
Your support is very much appreciated. Thanks, guys!






![awk - a programming language for working on files - Video Man Pages
The awk command is really an entire programming language used for working with files and text.
- Print a file (similar to cat):
awk {print} path/to/file
OR
awk {print $0} path/to/file
- Print the 2nd field of each line:
awk {print $2} path/to/file
- Print the last field of each line:
awk {print $NF} path/to/file
- Search for lines containing string and print the second field of those lines:
awk /string/ {print $2} path/to/file
- Use a different field separator (instead of space) and print 1st and 7th fields with a TAB in between:
awk -F : {print $1 t $7} /etc/passwd
- Find a specific string in any column:
ps -ef | awk { if($NF /usr/bin/pipewire) print $0};
NOTE We search if the last field is /usr/bin/pipewire and print the line.
- Search 1st field if it starts with b or c, then prints the line:
awk $1 ~ /^[b,c]/ {print $0} .bashrc
NOTE The ~ character is the regex match operator.
- Use the substr function to print each record from the 2nd character onward:
awk {print substr($0, 2)} .bashrc
NOTE It essentially prints the document but omits the first character of each line.
REFERENCED:
βΊ https://gitlab.com/dwt1/vidman
WANT TO SUPPORT THE CHANNEL?
π° Patreon: https://www.patreon.com/distrotube
π³ Paypal: https://www.paypal.com/donate/?hosted_button_id=MW3ZFGS8Q9JGW
ποΈ Amazon: https://amzn.to/2RotFFi
π Teespring: https://teespring.com/stores/distrotube
DT ON THE WEB:
πΈοΈ Website: http://distro.tube
π GitLab: https://gitlab.com/dwt1
π¨οΈ Mastodon: https://fosstodon.org/@distrotube
π« Reddit: https://www.reddit.com/r/DistroTube/
π½οΈ Odysee: https://odysee.com/@DistroTube:2
FREE AND OPEN SOURCE SOFTWARE THAT I LIKE:
π Brave Browser - https://brave.com/
π½οΈ Open Broadcaster Software: https://obsproject.com/
π¬ Kdenlive: https://kdenlive.org
π¨ GIMP: https://www.gimp.org/
π» VirtualBox: https://www.virtualbox.org/
ποΈ Doom Emacs: https://github.com/hlissner/doom-emacs
Your support is very much appreciated. Thanks, guys! awk - a programming language for working on files - Video Man Pages](https://i.ytimg.com/vi/cK1JMK7Ckq0/mqdefault.jpg)



