public static function cmd($value): string
    {
        $value = Str::low($value);
        $value = preg_replace('#[^a-z0-9\_\-\.]#', '', $value);
        $value = Str::trim($value);

        return $value;
    }
public static function cmd($value): string
    {
        $value = Str::low($value);
        $value = preg_replace('#[^a-z0-9\_\-\.]#', '', $value);
        $value = Str::trim($value);

        return $value;
    }
public static function cmd ( $ value ) : string { $ value = Str :: low ( $ value ) ; $ value = preg_replace ( '#[^a-z0-9\_\-\.]#' , '' , $ value ) ; $ value = Str :: trim ( $ value ) ; return $ value ; }
Cleanup system command

@param string $value
@return string
Cleanup system command