minus-squareghu@lemmy.mltoLinux@lemmy.ml•the order of redirections is significantlinkfedilinkarrow-up0·14 days agoIn bash if you want to redirect both stderr and stdout to file you can use &>filename. linkfedilink
In bash if you want to redirect both stderr and stdout to file you can use
&>filename
.