what is the use of "fg" command ?

Answer Posted / jonu

fg

Typing fg alone will resume the first job were it was left off.

fg 1

Specifying the job id (in this case 1) will resume that particular job. The job id can be determined by running the bg command.

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is in grep command?

645


Who invented grep?

649


How do you grep recursively?

553


What does touch command do in unix?

723


What is a bash command?

624






What is used to type command?

539


What will the following command do?

611


Does cp command overwrite files?

620


Which command will print your home directory on screen?

540


What are the differences among a system call, a library function, and a unix command?

567


Write a command to kill the last background job?

617


Why is it called a shebang?

566


What is s and g in sed command?

555


Write a command that will find all text files in a directory such that it does not contain the word "amazing" in any form (that is, it must include the words amazing, amazing, or amazing)?

951


What is the command to compare two files in unix?

618