Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


How to put a job in background & bring it to foreground?

Answers were Sorted based on User's Feedback



How to put a job in background & bring it to foreground? ..

Answer / naveen badam

To run a job in back ground type & at the end of the command
To bring the process to the foreground type fg pid
Pid u can find out by typing jobs cmd

Is This Answer Correct ?    4 Yes 2 No

How to put a job in background & bring it to foreground? ..

Answer / kishore devkate

we can put a job in background by putin & symbol at the end
of the line on the command promt.
example:
#cp -r /var/* /tmp &

We can pull the background job in the foreground by fg
command and pid, before that we have to get the process ID
how to get the process ID see below example.
Example:
#jobs
1+ cp -r /var/* /tmp &
now u can get the job ID then u can bring the job in
foreground see below example

Example:

#fg 1

cp -r /var/* /tmp ----now its show like this

Is This Answer Correct ?    2 Yes 0 No

How to put a job in background & bring it to foreground? ..

Answer / srinivas kalvacherla

Consider one ex.
#cp -r /etc/* /directory &
'&' it takes to background
#ps -ef
check the process that is running in the background
#%cp
to bring to foreground.
Regards
kalvacherla.srinivas@gmail.com

Is This Answer Correct ?    0 Yes 3 No

Post New Answer

More Unix AllOther Interview Questions

does the stat() function call use the inode of the file to generate the information about a file? what is inode mostly used for?

1 Answers   HP,


What steps are required to perform a bare-metal recovery?

1 Answers  


Have you used VI editor?

1 Answers   BMC,


in unix profile contains

1 Answers   BFL,


how to raise a suncase?pls explain step by step?

0 Answers   CGI,


Explain iostat, vmstat and netstat.

2 Answers  


What is a FIFO?

2 Answers  


How to remove weird filenames?

1 Answers  


Am using Mac OS 10.4.11 on an Imac (PPC) Internal hard disk got named disk0s3 and will not mount. What commands can be used in TERMINAL to rename the internal hard disk to C96?

0 Answers  


. Using sed and grep, write a command which lists files and directories with following properties: (i) created in 1999 (ii) with user's as owner and group

0 Answers  


How to setup display for a remote system?

3 Answers  


How can u doing testing in Unix environment ?

2 Answers   TCS,


Categories