title: Correct way to use Linux commands in bash script
body: <p>What is the best and most correct way to use Linux commands in bash scripts in terms of path to it? Is that correct to use only <code>ip addr show</code>, relying on shell path, or should I find a path to the command first (like with <code>whereis ip</code> or <code>command -v ip</code>), assign the output to some variable and then use that?</p>