I implemented a utility to automatically make a Linux system enter a low-power sleep state during low load
https://gitlab.com/brlin/linux-low-load-autosuspend
https://redd.it/1kztlwe
@r_bash
https://gitlab.com/brlin/linux-low-load-autosuspend
https://redd.it/1kztlwe
@r_bash
GitLab
林博仁 Buo-ren Lin / Linux automatic low system load suspend utility · GitLab
Utility to automatically suspend the system with low load on Linux. This is useful for saving power on hosts that will temporarily be under heavy load, but cannot...
noscript for automatically converting images in markdown file to base64?
Hi everybody,
I have done this manually before, but before I activate my beginner spaghetti code skills, I figured I'd ask here if something like this already exists...
As you can see here, it is possible to hardcode images in markdown files by converting said images to base64, then linking them (
While this enlarges the markdown file (obviously), it allows to have a single file containing everything there is to, for example, a tutorial.
Is anybody aware of a noscript that iterates through a markdown file, finds all images (locally stored and/or hosted on the internet) and replaces these markdown links to base64 encoded versions?
Use case: when following written tutorials from github repos, I often find myself cloning those repos (or at least saving the README.md file). Usually, the files are linked, so the images are hosted on, for example, github, and when viewing the file locally, the images get loaded. But I don't want to rely on that, in case some repo gets deleted or perhaps the internet is down just when it's important to see that one image inside that one important markdown file.
So yeah. If you are aware of a noscript that does this, can you please point me to it? Thanks in advance for your help :)
https://redd.it/1kzuuu3
@r_bash
Hi everybody,
I have done this manually before, but before I activate my beginner spaghetti code skills, I figured I'd ask here if something like this already exists...
As you can see here, it is possible to hardcode images in markdown files by converting said images to base64, then linking them (
.While this enlarges the markdown file (obviously), it allows to have a single file containing everything there is to, for example, a tutorial.
Is anybody aware of a noscript that iterates through a markdown file, finds all images (locally stored and/or hosted on the internet) and replaces these markdown links to base64 encoded versions?
Use case: when following written tutorials from github repos, I often find myself cloning those repos (or at least saving the README.md file). Usually, the files are linked, so the images are hosted on, for example, github, and when viewing the file locally, the images get loaded. But I don't want to rely on that, in case some repo gets deleted or perhaps the internet is down just when it's important to see that one image inside that one important markdown file.
So yeah. If you are aware of a noscript that does this, can you please point me to it? Thanks in advance for your help :)
https://redd.it/1kzuuu3
@r_bash
Stack Overflow
Hard Code Markdown Images
I am just making a general markdown page to share a design guide with everyone on the project. I would like to know how I can hard code the images I use into the .md file. I do not want to have to ...
-- Need help to practise and learn bash, So i am trying to learn bash as i am trying to get into DevOps role, i have explored basic syntax and other core concepts. How do i practise and get good at bash. Do u have any suggestion or any playground beginner friendly!
https://redd.it/1kzl9yi
@r_bash
https://redd.it/1kzl9yi
@r_bash
Reddit
From the bash community on Reddit
Explore this post and more from the bash community
Lazyshell - AI cli tool that generate shell commands from natural language
https://redd.it/1l02cry
@r_bash
https://redd.it/1l02cry
@r_bash
Question regarding learning resources
I know the old adage of just use the tool in order to learn It properly and how useful man pages in general can be. However i was wondering (i have been unable to find any such resources and hence the reason im asking here)
If there exists any tool analogous to vim adventures.
Games/gamified resources where the mechanics to accomplish the thing you want to accomplish are bash. It might sound stupid but It just engages the brain in a different way than just parsing text for tools you might not have an use for yet or dont fully understand at the moment.
I do understand this is an extremely noobish question, patience is appreciated.
Thank you all.
https://redd.it/1l04n3y
@r_bash
I know the old adage of just use the tool in order to learn It properly and how useful man pages in general can be. However i was wondering (i have been unable to find any such resources and hence the reason im asking here)
If there exists any tool analogous to vim adventures.
Games/gamified resources where the mechanics to accomplish the thing you want to accomplish are bash. It might sound stupid but It just engages the brain in a different way than just parsing text for tools you might not have an use for yet or dont fully understand at the moment.
I do understand this is an extremely noobish question, patience is appreciated.
Thank you all.
https://redd.it/1l04n3y
@r_bash
Reddit
From the bash community on Reddit
Explore this post and more from the bash community
Do you 'vibe code' your Bash noscripts?
AI tools seem to handle Bash better than Terraform. Do you plan yours or wing it?
https://redd.it/1l1hbq1
@r_bash
AI tools seem to handle Bash better than Terraform. Do you plan yours or wing it?
https://redd.it/1l1hbq1
@r_bash
Reddit
From the bash community on Reddit
Explore this post and more from the bash community
How would I make a noscript that can install packages on either ubuntu or fedora?
I want to build a noscript that can install packages like
if $(apt --version) ; then
sudo apt install python3
else
sudo dnf install python3
Then I ran into trouble trying to find a resource that will tell me how to get the
https://redd.it/1l1r0sj
@r_bash
I want to build a noscript that can install packages like
python3 (as an example; I know lots of distros come with python) that will work with ubuntu or fedora. Since ubuntu uses apt and fedora uses dnf, I thought I could simply use something likeif $(apt --version) ; then
sudo apt install python3
else
sudo dnf install python3
Then I ran into trouble trying to find a resource that will tell me how to get the
apt version. How can I get a truthy value to result in using apt install... and a falsy value to result in the else dnf install...?https://redd.it/1l1r0sj
@r_bash
Reddit
From the bash community on Reddit
Explore this post and more from the bash community
🛠️ Bash Script: Recursively Convert FLAC to MP3, Organize by Metadata, and Auto-Install Dependencies
Hey all,
I made a simple but powerful Bash noscript to recursively convert `.flac` files into `.mp3`, auto-organize the output using embedded metadata, and optionally delete the original files or play a completion sound.
# 🔧 Features
* Converts `.flac` → `.mp3` using `ffmpeg`
* Extracts `ARTIST`, `ALBUM`, and `TITLE` from FLAC metadata
* Outputs files to: `./output/Artist/Album/track_noscript.mp3`
* Sanitizes filenames (no spaces or special chars)
* Optionally deletes original `.flac` files
* Optionally plays a completion `.mp3` via `mpg123`
* Auto-installs missing dependencies (where possible)
# 📦 Dependencies
Install manually, or let the noscript handle it:
bashCopyEdit# Debian / Ubuntu
sudo apt install -y ffmpeg flac mpg123
# Fedora
sudo dnf install -y ffmpeg flac mpg123
# Arch
sudo pacman -Sy --noconfirm ffmpeg flac mpg123
# macOS
brew install ffmpeg flac mpg123
# 📝 Example Usage
bashCopyEdit./flac_to_mp3.sh /path/to/flac --delete --play
# 📂 Output Structure
textCopyEdit./output/
└── Artist/
└── Album/
└── track_noscript.mp3
# 💾 Source + README
📁 [https://github.com/Blake-and-Watt/linux\_flac\_to\_mp3](https://github.com/Blake-and-Watt/linux_flac_to_mp3)
☕ [https://ko-fi.com/makingagifree](https://ko-fi.com/makingagifree)
https://redd.it/1l1kzie
@r_bash
Hey all,
I made a simple but powerful Bash noscript to recursively convert `.flac` files into `.mp3`, auto-organize the output using embedded metadata, and optionally delete the original files or play a completion sound.
# 🔧 Features
* Converts `.flac` → `.mp3` using `ffmpeg`
* Extracts `ARTIST`, `ALBUM`, and `TITLE` from FLAC metadata
* Outputs files to: `./output/Artist/Album/track_noscript.mp3`
* Sanitizes filenames (no spaces or special chars)
* Optionally deletes original `.flac` files
* Optionally plays a completion `.mp3` via `mpg123`
* Auto-installs missing dependencies (where possible)
# 📦 Dependencies
Install manually, or let the noscript handle it:
bashCopyEdit# Debian / Ubuntu
sudo apt install -y ffmpeg flac mpg123
# Fedora
sudo dnf install -y ffmpeg flac mpg123
# Arch
sudo pacman -Sy --noconfirm ffmpeg flac mpg123
# macOS
brew install ffmpeg flac mpg123
# 📝 Example Usage
bashCopyEdit./flac_to_mp3.sh /path/to/flac --delete --play
# 📂 Output Structure
textCopyEdit./output/
└── Artist/
└── Album/
└── track_noscript.mp3
# 💾 Source + README
📁 [https://github.com/Blake-and-Watt/linux\_flac\_to\_mp3](https://github.com/Blake-and-Watt/linux_flac_to_mp3)
☕ [https://ko-fi.com/makingagifree](https://ko-fi.com/makingagifree)
https://redd.it/1l1kzie
@r_bash
emoji picker noscript (macos)
Hi everyone, I made this noscript to work as an emoji picker. For some reason, the output is characters like this:
#!/usr/bin/env bash
selection=$(
# cut -d ';' -f1 "$HOME/.config/noscripts/stuff/emoji" | \
cat "$HOME/.config/noscripts/stuff/emoji" | \
choose -f "JetBrainsMono Nerd Font" -b "31748f" -c "eb6f92" | \
sed "s/ .//"
)
[[ -z "$selection" ]] && exit 1
printf "%s" "$selection" | pbcopy
osanoscript -e 'tell application "System Events" to keystroke "v" using {command down}'Hi everyone, I made this noscript to work as an emoji picker. For some reason, the output is characters like this: üòÄ instead of the actual emoji. How can I fix this? I will attach an image of the choose screen below.#!/usr/bin/env bash
selection=$(
# cut -d ';' -f1 "$HOME/.config/noscripts/stuff/emoji" | \
cat "$HOME/.config/noscripts/stuff/emoji" | \
choose -f "JetBrainsMono Nerd Font" -b "31748f" -c "eb6f92" | \
sed "s/ .//"
)
[ -z "$selection" ] && exit 1
printf "%s" "$selection" | pbcopy
osanoscript -e 'tell application "System Events" to keystroke "v" using {command down}'
https://redd.it/1l2oxdm
@r_bash
Hi everyone, I made this noscript to work as an emoji picker. For some reason, the output is characters like this:
üòÄ instead of the actual emoji. How can I fix this?#!/usr/bin/env bash
selection=$(
# cut -d ';' -f1 "$HOME/.config/noscripts/stuff/emoji" | \
cat "$HOME/.config/noscripts/stuff/emoji" | \
choose -f "JetBrainsMono Nerd Font" -b "31748f" -c "eb6f92" | \
sed "s/ .//"
)
[[ -z "$selection" ]] && exit 1
printf "%s" "$selection" | pbcopy
osanoscript -e 'tell application "System Events" to keystroke "v" using {command down}'Hi everyone, I made this noscript to work as an emoji picker. For some reason, the output is characters like this: üòÄ instead of the actual emoji. How can I fix this? I will attach an image of the choose screen below.#!/usr/bin/env bash
selection=$(
# cut -d ';' -f1 "$HOME/.config/noscripts/stuff/emoji" | \
cat "$HOME/.config/noscripts/stuff/emoji" | \
choose -f "JetBrainsMono Nerd Font" -b "31748f" -c "eb6f92" | \
sed "s/ .//"
)
[ -z "$selection" ] && exit 1
printf "%s" "$selection" | pbcopy
osanoscript -e 'tell application "System Events" to keystroke "v" using {command down}'
https://redd.it/1l2oxdm
@r_bash
Reddit
From the bash community on Reddit
Explore this post and more from the bash community
Laradock Create Project Script
I created this noscript to make it easier to create projects in the Laradock environment (multiple sites).
Feel free to contribute to improving the noscript, translating it into other languages, and leave your opinion here.
https://github.com/rubensrocha/laradock-create-project-noscript
https://redd.it/1l2o6tj
@r_bash
I created this noscript to make it easier to create projects in the Laradock environment (multiple sites).
Feel free to contribute to improving the noscript, translating it into other languages, and leave your opinion here.
https://github.com/rubensrocha/laradock-create-project-noscript
https://redd.it/1l2o6tj
@r_bash
GitHub
GitHub - rubensrocha/laradock-create-project-noscript: A Bash noscript to automate the creation of local development environments with…
A Bash noscript to automate the creation of local development environments with Laradock, including project directories, VirtualHost configurations, and domain setup in the hosts file. - rubensrocha/...
What's your Bash noscript logging setup like?
Do you pipe everything to a file? Use
Would love to see how others handle logging for noscripts that run in the background or via cron.
https://redd.it/1l38wbq
@r_bash
Do you pipe everything to a file? Use
tee? Write your own log function with timestamps? Would love to see how others handle logging for noscripts that run in the background or via cron.
https://redd.it/1l38wbq
@r_bash
Reddit
From the bash community on Reddit
Explore this post and more from the bash community
How to get an arbitrary integer to align with closest value in array
I have an array that looks like this
I tried doing it in awk and it worked, but i really want to get pure bash solution
https://redd.it/1l38vuw
@r_bash
I have an array that looks like this
array=(4 8 12 16 20 24 28 32 36 40 44 48 52 56 60 64 68 72 76 80 84 88 92 96 100) and i want to calculate to which value from said array $1 will be closer to, so let's say $1 is 5, i want it to be perceived as 4, and if $1 is 87, i want it to be perceived as 88, and so on. I tried doing it in awk and it worked, but i really want to get pure bash solution
https://redd.it/1l38vuw
@r_bash
Reddit
From the bash community on Reddit
Explore this post and more from the bash community
How to delete multiple lines only AFTER a search pattern?
I have a file in the standard INI config file structure, so basically
; last modified 1 April 2001 by John Doe
owner
name = John Doe
organization = Acme Widgets Inc.
database
; use IP address in case network name resolution is not working
server = 192.0.2.62
port = 143
file = "payroll.dat"
I want to get rid of all key-value pairs in one specific block, but keep the section header. Number of key-value pairs may be variable, so a fixed line solution wouldn't suffice.
In the example above, the desired replace operation would result in
; last modified 1 April 2001 by John Doe
owner
name = John Doe
organization = Acme Widgets Inc.
database
Any idea how to accomplish this? I tried with
https://redd.it/1l3v0b7
@r_bash
I have a file in the standard INI config file structure, so basically
; last modified 1 April 2001 by John Doe
owner
name = John Doe
organization = Acme Widgets Inc.
database
; use IP address in case network name resolution is not working
server = 192.0.2.62
port = 143
file = "payroll.dat"
I want to get rid of all key-value pairs in one specific block, but keep the section header. Number of key-value pairs may be variable, so a fixed line solution wouldn't suffice.
In the example above, the desired replace operation would result in
; last modified 1 April 2001 by John Doe
owner
name = John Doe
organization = Acme Widgets Inc.
database
Any idea how to accomplish this? I tried with
sed, but I couldn't get it to work.https://redd.it/1l3v0b7
@r_bash
Reddit
From the bash community on Reddit
Explore this post and more from the bash community
BioBASH v0.3.12
https://preview.redd.it/vqfnz6mb955f1.png?width=1320&format=png&auto=webp&s=d4fa3b0e2260c507395add813ff53b70a45ed246
Hey guys this is a "side" project I started as part of my sabbatical leave. Basically is a Suite of tools for bioinformatics written in BASH.
https://github.com/ampinzonv/BB3/wiki
I am sure it has more bugs that i've been able to find, so this is the first time I publish any version, if you find it somehow interesting and are willing to contribute.
Best,
https://redd.it/1l45be3
@r_bash
https://preview.redd.it/vqfnz6mb955f1.png?width=1320&format=png&auto=webp&s=d4fa3b0e2260c507395add813ff53b70a45ed246
Hey guys this is a "side" project I started as part of my sabbatical leave. Basically is a Suite of tools for bioinformatics written in BASH.
https://github.com/ampinzonv/BB3/wiki
I am sure it has more bugs that i've been able to find, so this is the first time I publish any version, if you find it somehow interesting and are willing to contribute.
Best,
https://redd.it/1l45be3
@r_bash
How do I get a variable's value into a file in /sys/?
I want to create a noscript that will automate my battery charge threshold setup. What I used to use was:
sudo tee -a /sys/class/power_supply/BAT0/charge_stop_threshold > /dev/null << 'EOF'
70
EOF
I want to make it user-interactive, which I can do with
I tried replacing all three lines with
How can I take user input and output it into
https://redd.it/1l49hrh
@r_bash
I want to create a noscript that will automate my battery charge threshold setup. What I used to use was:
sudo tee -a /sys/class/power_supply/BAT0/charge_stop_threshold > /dev/null << 'EOF'
70
EOF
I want to make it user-interactive, which I can do with
read -p "enter a percentage: " number. So far I tried replacing 70 with $number and ${number}, which didn't work; $number and ${number} would appear in the file instead of the number I input in temrinal.I tried replacing all three lines with
sudo echo $number > /sys/class/power_supply/BAT0/charge_stop_threshold, but this results in a permission denied error. How can I take user input and output it into
/sys/class/power\_supply/BAT0/charge\_stop\_threshold?https://redd.it/1l49hrh
@r_bash
Reddit
From the bash community on Reddit
Explore this post and more from the bash community
How do I speed up this code editing the header information in a FASTA file?
This code is taking too long to run. I'm working with a FASTA file with many thousands of protein accessions ($blastout). I have a file with taxonomy information ("$dir_partial"/lineages.txt). The idea is to loop through all headers, get the accession number and species name in the header, find the corresponding taxonomy lineage in formation, and replace the header with taxonomy information with in-place sed substitution. But it's taking so long.
while read -r line
do
accession="$(echo "$line" | cut -f 1 -d " " | sed 's/>//')"
species="$(echo "$line" | cut -f 2 -d "" | sed 's///')"
taxonomy="$(grep "$species" "$dirpartial"/lineages.txt | head -n 1)"
kingdom="$(echo "$taxonomy" | cut -f 2)"
order="$(echo "$taxonomy" | cut -f 4)"
newname="$(echo "${kingdom}-${order}${species}${accession}" | tr " " "-")"
sed -i "s/>$accession.*/>$newname/" "$dirpartial"/blast-results5000formatted.fasta
done < <(grep ">" "$blastout") # Search headers
Example of original FASTA header:
\>XP_055356955.1 uncharacterized protein LOC129602037 isoform X2 [Paramacrobiotus metropolitanus\]
Example of new FASTA header:
\>Metazoa-Eutardigrada_Paramacrobiotus-metropolitanus_XP_055356955.1
Thanks for your help!
https://redd.it/1l4d9th
@r_bash
This code is taking too long to run. I'm working with a FASTA file with many thousands of protein accessions ($blastout). I have a file with taxonomy information ("$dir_partial"/lineages.txt). The idea is to loop through all headers, get the accession number and species name in the header, find the corresponding taxonomy lineage in formation, and replace the header with taxonomy information with in-place sed substitution. But it's taking so long.
while read -r line
do
accession="$(echo "$line" | cut -f 1 -d " " | sed 's/>//')"
species="$(echo "$line" | cut -f 2 -d "" | sed 's///')"
taxonomy="$(grep "$species" "$dirpartial"/lineages.txt | head -n 1)"
kingdom="$(echo "$taxonomy" | cut -f 2)"
order="$(echo "$taxonomy" | cut -f 4)"
newname="$(echo "${kingdom}-${order}${species}${accession}" | tr " " "-")"
sed -i "s/>$accession.*/>$newname/" "$dirpartial"/blast-results5000formatted.fasta
done < <(grep ">" "$blastout") # Search headers
Example of original FASTA header:
\>XP_055356955.1 uncharacterized protein LOC129602037 isoform X2 [Paramacrobiotus metropolitanus\]
Example of new FASTA header:
\>Metazoa-Eutardigrada_Paramacrobiotus-metropolitanus_XP_055356955.1
Thanks for your help!
https://redd.it/1l4d9th
@r_bash
Reddit
From the bash community on Reddit
Explore this post and more from the bash community
How can I speed up this code?
This code is taking too long to run. I'm working with a FASTA file with many thousands of protein accessions ($blastout). I have a file with taxonomy information ("$dir_partial"/lineages.txt). The idea is to loop through all headers, get the accession number and species name in the header, find the corresponding taxonomy lineage in formation, and replace the header with taxonomy information with in-place sed substitution. But it's taking so long.
while read -r line
do
accession="$(echo "$line" | cut -f 1 -d " " | sed 's/>//')"
species="$(echo "$line" | cut -f 2 -d "" | sed 's///')"
taxonomy="$(grep "$species" "$dirpartial"/lineages.txt | head -n 1)"
kingdom="$(echo "$taxonomy" | cut -f 2)"
order="$(echo "$taxonomy" | cut -f 4)"
newname="$(echo "${kingdom}-${order}${species}${accession}" | tr " " "-")"
sed -i "s/>$accession.*/>$newname/" "$dirpartial"/blast-results5000formatted.fasta
done < <(grep ">" "$blastout") # Search headers
Example of original FASTA header:
\>XP_055356955.1 uncharacterized protein LOC129602037 isoform X2 [Paramacrobiotus metropolitanus\]
Example of new FASTA header:
\>Metazoa-Eutardigrada_Paramacrobiotus-metropolitanus_XP_055356955.1
Thanks for your help!
https://redd.it/1l4d8d4
@r_bash
This code is taking too long to run. I'm working with a FASTA file with many thousands of protein accessions ($blastout). I have a file with taxonomy information ("$dir_partial"/lineages.txt). The idea is to loop through all headers, get the accession number and species name in the header, find the corresponding taxonomy lineage in formation, and replace the header with taxonomy information with in-place sed substitution. But it's taking so long.
while read -r line
do
accession="$(echo "$line" | cut -f 1 -d " " | sed 's/>//')"
species="$(echo "$line" | cut -f 2 -d "" | sed 's///')"
taxonomy="$(grep "$species" "$dirpartial"/lineages.txt | head -n 1)"
kingdom="$(echo "$taxonomy" | cut -f 2)"
order="$(echo "$taxonomy" | cut -f 4)"
newname="$(echo "${kingdom}-${order}${species}${accession}" | tr " " "-")"
sed -i "s/>$accession.*/>$newname/" "$dirpartial"/blast-results5000formatted.fasta
done < <(grep ">" "$blastout") # Search headers
Example of original FASTA header:
\>XP_055356955.1 uncharacterized protein LOC129602037 isoform X2 [Paramacrobiotus metropolitanus\]
Example of new FASTA header:
\>Metazoa-Eutardigrada_Paramacrobiotus-metropolitanus_XP_055356955.1
Thanks for your help!
https://redd.it/1l4d8d4
@r_bash
Reddit
From the bash community on Reddit
Explore this post and more from the bash community
help with bash noscript
i have made my nvim configuration and i wanted to do a noscript for installing all the dependencies and things like that, but some of the packages (like lazygit) won't install, can you help me?
since the file is 1402 lines long i will put a link
https://redd.it/1l5xydx
@r_bash
i have made my nvim configuration and i wanted to do a noscript for installing all the dependencies and things like that, but some of the packages (like lazygit) won't install, can you help me?
since the file is 1402 lines long i will put a link
https://redd.it/1l5xydx
@r_bash
GitHub
NVIM-configuration/installation.sh at master · Sckab/NVIM-configuration
This is my personal configuration of Neovim. I tried to make it as modular as possible. I've gone with a black and green color scheme, which I think looks pretty good. For the best appearan...
Cybersecurity, AI and MacOS Learning plan - Thoughts?
Hey everyone! I’m on week 2 of a 12-week, plan of expanding my knowledge in Cybersecurity, AI, Bash and MacOS. **I’m looking for:**
* Suggestions on improving my shell noscripts or aliases
* Best practices for file permissions, Git workflows, and CI/CD in a security context
* Recommendations for next challenges (CTFs, labs, or open-source tools)
I am a beginner and **so far I learnt:**
* Basic Bash/Terminal/iTerm2 and Visual Studio - focused on getting very basics first
* Created a Repo to share all learnings and files
* Completed OverTheWire Bandit levels 0–6 - using it to reinforce point 1.
* Kept detailed notes and screenshots of my terminal work
**I’m looking for:**
* Suggestions on improving my shell noscripts or aliases
* Best practices for file permissions, Git workflows, and CI/CD in a security context
* Recommendations for next challenges (CTFs, labs, or open-source tools)
* Friendly feedback the plan and how my repo is looking :)
**Check out my repo & plan:**
[https://github.com/birdhale/secai-module1](https://github.com/birdhale/secai-module1)
Any insights, critiques, or pointers are welcomed!
https://redd.it/1l625np
@r_bash
Hey everyone! I’m on week 2 of a 12-week, plan of expanding my knowledge in Cybersecurity, AI, Bash and MacOS. **I’m looking for:**
* Suggestions on improving my shell noscripts or aliases
* Best practices for file permissions, Git workflows, and CI/CD in a security context
* Recommendations for next challenges (CTFs, labs, or open-source tools)
I am a beginner and **so far I learnt:**
* Basic Bash/Terminal/iTerm2 and Visual Studio - focused on getting very basics first
* Created a Repo to share all learnings and files
* Completed OverTheWire Bandit levels 0–6 - using it to reinforce point 1.
* Kept detailed notes and screenshots of my terminal work
**I’m looking for:**
* Suggestions on improving my shell noscripts or aliases
* Best practices for file permissions, Git workflows, and CI/CD in a security context
* Recommendations for next challenges (CTFs, labs, or open-source tools)
* Friendly feedback the plan and how my repo is looking :)
**Check out my repo & plan:**
[https://github.com/birdhale/secai-module1](https://github.com/birdhale/secai-module1)
Any insights, critiques, or pointers are welcomed!
https://redd.it/1l625np
@r_bash
GitHub
GitHub - birdhale/secai-module1
Contribute to birdhale/secai-module1 development by creating an account on GitHub.
CD shortcut
Is there a way i can put a cd command to go to the desktop in a shell noscript so i can do it without having to type "cd" capital "D", "esktop". Thanks
https://redd.it/1l69apz
@r_bash
Is there a way i can put a cd command to go to the desktop in a shell noscript so i can do it without having to type "cd" capital "D", "esktop". Thanks
https://redd.it/1l69apz
@r_bash
Reddit
From the bash community on Reddit
Explore this post and more from the bash community
I made a bashrc noscriptlet to make the `cd` command switch your working directory to ~/Desktop.
https://github.com/brlin-tw/cd-to-desktop
https://redd.it/1l6f4av
@r_bash
https://github.com/brlin-tw/cd-to-desktop
https://redd.it/1l6f4av
@r_bash
GitHub
GitHub - brlin-tw/cd-to-desktop: A fun (and highly unnecessary) hack to make the Bash shell's built-in `cd` command change the…
A fun (and highly unnecessary) hack to make the Bash shell's built-in `cd` command change the working directory to the user's Desktop folder by default. - brlin-tw/cd-to-desktop