updated builtin_cmd to handle 'jobs' command