I use Ubuntu with Bash and I have a file hosting a script with 5 functions.
Sometimes I want to call some function of these functions (but not all of them), directly from the CLI.
I could say it's quite like executing a file with an
alias, but in this case, I target a particular function within a file and not a file by itself.
What is the correct way to do so?
I thought of sourcing the file from my users
"$HOME"/.bashrc but that would execute the entire file with all functions and I totally don't want that.