Quantcast
Channel: How to hide command output, then run another command - Ask Ubuntu
Browsing all 2 articles
Browse latest View live

Answer by terdon for How to hide command output, then run another command

You can use ; instead of || or &&. The ; just separates commands and the second command doesn't depend on the first at all:$ false; echo yeahyeah$ true; echo yeahyeah$ false || echo yeahyeah$...

View Article



How to hide command output, then run another command

I have this command which may output an error, so I hide it using &>/dev/null.Now I would like to run this command, then run another command.This is what I have now:( aaa &>/dev/null )...

View Article
Browsing all 2 articles
Browse latest View live




Latest Images