Skip to main content

Search

Items tagged with: bash


Today I wrote, and debugged a bash script. I'm sorry. Also then I debugged it, and actually on Monday I think there's going to be some more debugging. #bash #programming #fail


#bash alias to print the definition(s) of an english word:

defineWord() {
curl -s "https://api.dictionaryapi.dev/api/v2/entries/en/$1" | jq '.[] | .meanings[] | .definitions[] | .definition'
}

alias def="defineWord"

$ def something
"An object whose nature is yet to be defined."
(...)

#bash


Learn Bash by writing a number guessing game #bash #linux
https://www.both.org/?p=4796