Hacker News new | ask | show | jobs
by viraptor 4371 days ago
Or:

    somecommand || echo "it failed"
if it's just one statement. There are some cases where it just looks more natural. For example:

    start_service || log "already started"