Description of problem: "$ sudo ybin -v sudo: ybin: command not found" Version-Release number of selected component (if applicable): latest version (unknown). How reproducible: Every time. Steps to Reproduce: 1. "$ sudo ybin -v" 2. 3. Actual results: See above. Expected results: "Blessed with Penguin Pee" Additional info: "$ ybin -v bash: ybin: command not found"
Whatever you're trying to achieve, ybin is located inside /sbin. Either use the full path to ybin, e.g. 'sudo /sbin/ybin -v' or add /sbin to your PATH variable. The command 'locate' is useful for searching files, too.
Sorry. Newbie. What do you mean I can add /sbin to my PATH variable?
Try Google with "path variable linux"... Example: Inside your ~/.bash_profile change the line PATH=$PATH:$HOME/bin to PATH=$PATH:$HOME/bin:/sbin But preferably use the full paths. /sbin commands shouldn't be needed for everydays work.