Unix operands: Difference between revisions

From /i/nsurgency W/i/ki
Jump to navigationJump to search
>Hitlerlol
No edit summary
>Hitlerlol
No edit summary
(No difference)

Revision as of 22:44, 3 November 2008

this is a page for unix operands

file operands

>

write program output to a file, is used as follows: (newline & quote) echo hello world > helloworld (end quote and newline) this writes anything that the command "echo hello world" says into the file "helloworld." Will overwrite the contents of helloworld if the file already exists.

>>

appends all output to a file, is used as follows: (newline and quote) echo hello world >> helloworld (end quote and newline) this appends any data output from the command "echo hello world" into the file "helloworld." All information will be placed at the end of the file and no information from "helloworld" will be overwritten