,
Run commands without installing them.
TLDR
Run a command
Add a command to a child shell
Clear the cache
SYNOPSIS
command1 , command2 , command3 ...
DESCRIPTION
The character `,` is not a standalone command in standard Linux systems. It functions primarily as a sequence operator within shell scripting and command execution. It allows you to execute multiple commands sequentially on a single line. The commands are executed one after the other, regardless of the success or failure of the preceding command. The exit status of the entire sequence is the exit status of the *last* command executed. It is a key component in building more complex scripts. It can combine commands to perform multiple operations in a concise manner. It contrasts with other operators like `&&` or `||` which control execution flow based on the success or failure of commands.
CAVEATS
The exit status of the entire sequence is the exit status of the *last* command executed, so errors in earlier commands might be masked.
EXAMPLES
Example 1: Execute `pwd` and then `ls -l` irrespective of `pwd` success
pwd , ls -l
Example 2: Create a directory, change into it, and then list its contents. Errors during `mkdir` will not prevent `cd` and `ls` from running.
mkdir mydir , cd mydir , ls
SEE ALSO
&&(1), ||(1), ;(1)