Quantcast
Channel: How to hide command output, then run another command - Ask Ubuntu
Browsing latest articles
Browse All 2 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 latest articles
Browse All 2 View Live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>