check for freebsd for shell