bash - How can I concatenate the output of two commands? -



bash - How can I concatenate the output of two commands? -

how can concatenate output of pwd , ls , add together file called f1? not working:

pwd, ls > f1

use compound command:

{ pwd; ls; } > f1

bash unix

Comments

Popular posts from this blog

c - Compilation of a code: unkown type name string -

ubuntu - Bash Script to Check That Files Are Being Created -

Php operator `break` doesn't stop while -