1

I have moved to zsh in the course of an upgrade. However, now I'm trying to issue some systemctl commands but keep getting "command not found" errors.

My ~/.bashrc file:

# Add RVM to PATH for scripting. Make sure this is the last PATH variable change.
export PATH="$PATH:$HOME/.rvm/bin"

The top of my ~/.zshrc:

# If you come from bash you might have to change your $PATH.
# export PATH=$HOME/bin:/usr/local/bin:$PATH
# export PATH="$PATH:$HOME/.rvm/bin"
# export PATH=$HOME/bin:/usr/local/bin:/sbin:/usr/sbin:$PATH
  export PATH="$PATH:$HOME"

# Path to your oh-my-zsh installation.
export ZSH="/Users/<username>/.oh-my-zsh"

Have been banging my head against the wall on this !! - I've tried all the paths already commented out.

AdminBee
  • 22,803
Tony
  • 133

1 Answers1

2

Thanks to @Fox.

Had to use

sudo launchctl start|stop postfix 
Paulo Tomé
  • 3,782
Tony
  • 133