HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Simple background/foreground question
Operating System - HP-UX
1827663
Members
3752
Online
109966
Solutions
Forums
Categories
Company
Local Language
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
back
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Go to solution
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-10-2005 07:22 AM
02-10-2005 07:22 AM
Hi,
Not sure if this can be done....is it possible to put a job that is running in the foreground into the background?
I kicked off a backup in the foreground and want to put it in the background now.
THanks
Not sure if this can be done....is it possible to put a job that is running in the foreground into the background?
I kicked off a backup in the foreground and want to put it in the background now.
THanks
Solved! Go to Solution.
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-10-2005 07:26 AM
02-10-2005 07:26 AM
Re: Simple background/foreground question
From man sh-posix(1):
bg [job]...
Put the specified jobs into the background. The current job is put in the background if job is unspecified. See the "Jobs" subsection for a description of the format of job.
Pete
Pete
bg [job]...
Put the specified jobs into the background. The current job is put in the background if job is unspecified. See the "Jobs" subsection for a description of the format of job.
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-10-2005 07:34 AM
02-10-2005 07:34 AM
Solution
Hi Steve,
The job is specified as %X where X=job number.
Determine the job number with the jobs command.
Then you'd
bg %1
for example to put the #1 job in the background
fg %1
would bring it back in the foreground.
HTH,
Jeff
The job is specified as %X where X=job number.
Determine the job number with the jobs command.
Then you'd
bg %1
for example to put the #1 job in the background
fg %1
would bring it back in the foreground.
HTH,
Jeff
PERSEVERANCE -- Remember, whatever does not kill you only makes you stronger!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-10-2005 07:54 AM
02-10-2005 07:54 AM
Re: Simple background/foreground question
Steve,
You can use ^Z (Control-Z) to put the foreground job in the background.
It will stop the job. You will have to start it again using bg command.
if Control Z is not working for you, you will have to define susp using stty
# stty susp ^Z
- Sundar.
You can use ^Z (Control-Z) to put the foreground job in the background.
It will stop the job. You will have to start it again using bg command.
if Control Z is not working for you, you will have to define susp using stty
# stty susp ^Z
- Sundar.
Learn What to do ,How to do and more importantly When to do ?
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Support
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP