fork download
  1. #!/bin/bash
  2. echo -e "Enter a Command: "
  3. read COMMAND
  4. echo Output:
  5. eval "$COMMAND"
  6.  
Success #stdin #stdout 0.01s 5476KB
stdin
echo foobar
stdout
Enter a Command: 
Output:
foobar