What exactly is the sh command?
Problem
I can't figure out what the sh command is? http://unixhelp.ed.ac.uk/CGI/man-cgi?sh Does it execute a file? like in tomcat: Sorry, just confused.
Error Output
sh /usr/local/tomcat/bin/shutdown.sh
Unverified for your environment
Select your OS to check compatibility.
1 Fix
Fix for: What exactly is the sh command?
sh is the bourne shell. There are several shells, of which bourne is the old standard, installed on all unix systems, and generally the one you can guarantee will exist. The shell is the command interpreter that takes your input, provides output back to the screen, to the correct files, etc, and provides all the basic built-in commands you need to manage jobs, kill, test expressions, etc. Your command above is saying to run that shell-script using the bourne shell. Different shells use differen…
Awaiting Verification
Be the first to verify this fix
Sign in to verify this fix