How to use Linux shell command exit codes

Posted by Scott_Ruecker on Jun 24, 2022 10:01 AM EDT
Enable Sysadmin; By Roberto Nozaki
Mail this story
Print this story

When you execute a command in Linux, it generates a numeric return code. This happens whether you're running the command directly from the shell, from a script, or even from an Ansible playbook. You can use those return codes to handle the result of that command properly.

Full Story

» Read more about: Story Type: News Story; Groups: Linux

« Return to the newswire homepage

This topic does not have any threads posted yet!

You cannot post until you login.