Search
Items tagged with: bash
#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."
(...)
Learn Bash by writing a number guessing game #bash #linux
https://www.both.org/?p=4796
https://www.both.org/?p=4796
Learn Bash by writing a number guessing game
Learning a new programming language can be a fun exercise.Both.org