Edit $Cmd for FreeBSD compatibility