It redirects the string to stdin of the command.
Variables assigned directly before the command in this way only take effect for the command process; the shell remains untouched.
More Related Contents:
- Command not found error in Bash variable assignment
- How to check if a variable is set in Bash
- What is the difference between $(command) and `command` in shell programming?
- Can I export a variable to the environment from a Bash script without sourcing it?
- How to urlencode data for curl command?
- Shell equality operators (=, ==, -eq)
- Assigning default values to shell variables with a single command in bash
- redirect COPY of stdout to log file from within bash script itself
- Shell script to delete directories older than n days
- Count occurrences of a char in a string using Bash
- Shell: How to call one shell script from another shell script?
- How to redirect output of an entire shell script within the script itself?
- Quick-and-dirty way to ensure only one instance of a shell script is running at a time
- Process all arguments except the first one (in a bash script)
- How to represent multiple conditions in a shell if statement?
- How to split one string into multiple strings separated by at least one space in bash shell?
- Generating permutations using bash
- Can colorized output be captured via shell redirect? [duplicate]
- Longest line in a file
- Simple method to shuffle the elements of an array in BASH shell?
- How to write a bash script to set global environment variable?
- What does “plus colon” (“+:”) mean in shell script expressions?
- How does AND and OR operators work in Bash?
- Running shell command that has nested quotes via ssh
- How to split one string into multiple variables in bash shell? [duplicate]
- How to reload .bash_profile from the command line
- Floating point comparison in shell
- Escaping forward slashes in sed command [duplicate]
- How to properly nest Bash backticks
- Subtract two variables in Bash