Handling of bang commands