Skip to main content
Tweeted twitter.com/StackUnix/status/1158165740194861056
we should either tag all shells or none
Link
Jeff Schaller
  • 68.8k
  • 35
  • 122
  • 267
replaced http://meta.unix.stackexchange.com/ with https://unix.meta.stackexchange.com/
Source Link

I often see tutorials online that connect various commands with different symbols. For example:

command1 |  command2
command1 &  command2
command1 || command2    
command1 && command2

Others seem to be connecting commands to files:

command1  > file1
command1  >> file1

What are these things? What are they called? What do they do? Are there more of them?


Meta thread about this question.Meta thread about this question..

I often see tutorials online that connect various commands with different symbols. For example:

command1 |  command2
command1 &  command2
command1 || command2    
command1 && command2

Others seem to be connecting commands to files:

command1  > file1
command1  >> file1

What are these things? What are they called? What do they do? Are there more of them?


Meta thread about this question..

I often see tutorials online that connect various commands with different symbols. For example:

command1 |  command2
command1 &  command2
command1 || command2    
command1 && command2

Others seem to be connecting commands to files:

command1  > file1
command1  >> file1

What are these things? What are they called? What do they do? Are there more of them?


Meta thread about this question..

edited tags
Link
Gilles 'SO- stop being evil'
  • 866.1k
  • 205
  • 1.8k
  • 2.3k
added 97 characters in body
Source Link
terdon
  • 252.7k
  • 69
  • 481
  • 719
Loading
Post Reopened by terdon
Post Closed as "Needs more focus" by terdon
edited title
Link
terdon
  • 252.7k
  • 69
  • 481
  • 719
Loading
deleted 1 character in body
Source Link
cuonglm
  • 158.2k
  • 41
  • 342
  • 420
Loading
Source Link
terdon
  • 252.7k
  • 69
  • 481
  • 719
Loading