Studying errors on shell commands