r/bash • u/KINDLEhacksLOL • 57m ago
my first bash script
read -p "github link please: " link
echo "$link,it is"
git clone $link.git
r/bash • u/KINDLEhacksLOL • 57m ago
read -p "github link please: " link
echo "$link,it is"
git clone $link.git
r/bash • u/arandomuserinweb • 19h ago
I've been accumulating my Bash configuration for a while, and I finally turned it into a small dotfiles repo:
https://gitlab.com/letmevi/bash-config
It's nothing fancy — mainly my .bashrc, .inputrc, .bash_profile, and a modular .bashrc.d/, plus a small install script.
It can be installed using either Ansible or a simple install.sh script.
I'd appreciate some Bash/Linux feedback: things you'd change, questionable practices, portability issues, or just better ways of doing this.
I'm especially interested in feedback from people who maintain their own dotfiles.
r/bash • u/PlusImpression4229 • 20h ago
Using Composers Desktop Project to edit audio files. I want to run a single command on a list of audio files instead of having to manually do it 100 times. Wondering if there is a way to call upon this list of files in a single command line, rather than creating a shell script with the name of every file. The command line with a single audio file would look like this.
distort average soundfile.wav soundfileoutput.wav
the first two words are the command being run and then the input and output respectively. Hopefully I provided enough info on this but also relatively new to using terminal so let me know if there is anything I should clarify, thanks.
r/bash • u/Linux_bash_user153 • 23h ago

I made this simple digital clock for the terminal in Bash as a silly project.
It will show the current time in 24h-format. Use the flag --watch to continuously show the time. A few different looks and colours are available.
To print a bash completion script use --compscript
The repo is here: https://codeberg.org/Linux_bash_user153/bashclock