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

Php operator `break` doesn't stop while -

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

vim: Search & replace -