Skip to main content
2 of 3
spelling
Albert
  • 1.3k
  • 3
  • 12
  • 19

Both redirect stdout to file.

ls > list 

If file exists it'll be replaced.

ls >> list 

If file not exists it'll be created. If it exists, it'll be appended to the end of file.

Find out more: IO Redirection

Albert
  • 1.3k
  • 3
  • 12
  • 19