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

assembly - What is the addressing mode for ld, add, and rjmp instructions? -

vowpalwabbit - Interpreting Vowpal Wabbit results: Why are some lines appended by "h"? -

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