exec
replaces the shell process. Remove it if you only want to call the command as a subprocess instead.
More Related Contents:
- create a file with prefix =file1 followed by the random number
- Why to code a script which will check if some package is installed in linux and if not then install it?
- How to pass command output as multiple arguments to another command
- Is there a way to change the environment variables of another process in Unix?
- How to remove the lines which appear on file B from another file A?
- Automatically enter SSH password with script
- Aborting a shell script if any command returns a non-zero value
- Shell script: Run function from script over ssh
- How can I quickly sum all numbers in a file?
- How to run a shell script when a file or directory changes?
- Bash script process substitution Syntax error: “(” unexpected
- What is the difference between using `sh` and `source`?
- Setting environment variables in Linux using Bash
- How do I exclude a directory when using `find`?
- Does “argument list too long” restriction apply to shell builtins?
- Given two directory trees, how can I find out which files differ by content? [closed]
- Add a bash script to path
- How to extract only the raw contents of an ELF section?
- Get last dirname/filename in a file path argument in Bash
- Docker Alpine executable binary not found even if in PATH
- Bash script execution with and without shebang in Linux and BSD
- bash command not found when setting a variable
- Shell command to tar directory excluding certain files/folders
- Exit code of variable assignment to command substitution in Bash
- How to compare two DateTime strings and return difference in hours? (bash shell)
- Get a list of function names in a shell script [duplicate]
- Linux shell script to add leading zeros to file names
- Colour highlighting output based on regex in shell
- How to pass argument with exclamation mark on Linux?
- Need to remove the count from the output when using “uniq -c” command