implemented listjobs() builtin_cmd