Difference between revisions of "&&"
Jump to navigation
Jump to search
Tags: Mobile web edit, Mobile edit |
|||
Line 1: | Line 1: | ||
<code>&&</code> executes the command which follow only if the command which precedes it succeeds. <code>||</code> does the opposite. | <code>&&</code> executes the command which follow only if the command which precedes it succeeds. <code>||</code> does the opposite. | ||
+ | |||
+ | == Related commands == | ||
+ | * [[Powershell]]: <code> (command 1) -and (command 2)</code> | ||
== See also == | == See also == |
Revision as of 12:44, 15 April 2020
&&
executes the command which follow only if the command which precedes it succeeds. ||
does the opposite.
Related commands
- Powershell:
(command 1) -and (command 2)
See also
Bash [ -c ]
,alias
,&&
, Bash history, Autocompletion,set
,unset
,export
,.bash_aliases, .bashrc and .bash profile
,PS1
,echo
,brace expansion
, Function,shopt
,trap
,set -e
,source
,PATH
,complete
,disown
,.hushlogin
,.bashrc
,builtin
,eval
,set
,$PATH
,$HOME
,TZ
,.profile
,-e, -i
,Builtin (Bash)
,mapfile
,~
, return (Bash), for, until,declare, dirname, basename, functions.sh
, Bash arithmetic expansion,shift, bash --rcfile, readonly, $1, $@
Advertising: