I'm working actually in a shell script to monitor a server's resources. I have a function and I want to know: how can I call a second function inside the main one?
Example:
funct mainfunct(){
echo "Text to show here" **$secondfunct**
}
funct secondfunct(){
commands
}