This is the command ifne that can be run in the OnWorks free hosting provider using one of our multiple free online workstations such as Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator
ifne - Run command if the standard input is not empty
ifne [-n] command
ifne runs the following command if and only if the standard input is not empty.
Reverse operation. Run the command if the standard input is empty.
Note that if the standard input is not empty, it is passed through ifne in this case.
find . -name core | ifne mail -s "Core files found" root
Use ifne online using onworks.net services