shell: ignore commands that are too long