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

Delphi change the assembly code of a running process -

json - Hibernate and Jackson (java.lang.IllegalStateException: Cannot call sendError() after the response has been committed) -

C++ 11 "class" keyword -