RosettaCodeData/Task/Execute-a-system-command/UNIX-Shell/execute-a-system-command-7.sh

3 lines
82 B
Bash

ls # run command, return to shell
exec ls # replace shell with command