08-23-2007
Hi Namishiri,
That's fine how can i use the fg and bg command? can you give one example.
suppose 10 process are running in Background and 5 process are runnit into foreground. Now i wanted to retreive on background process to foreground.
How can i do...?
Any one help me.
Thanks in advance..
Regards,
Siva.P
Bangalore
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi all,
why "vi" acts differently is single user mode?
Does anyone help ?
I am using "x" to delete and it keeps messing up.
Please help
Thanks (2 Replies)
Discussion started by: guest100
2 Replies
2. UNIX for Dummies Questions & Answers
how do you boot into single user mode?
RedHat 7.1
Caldera 2.4 (2 Replies)
Discussion started by: zorro81
2 Replies
3. UNIX for Advanced & Expert Users
Is there another way of switching to single user mode except by typing
/usr/sbin/shutdown 0 ???
:rolleyes: (5 Replies)
Discussion started by: kekanap
5 Replies
4. UNIX for Advanced & Expert Users
How to diable the single user mode..
what i want is dat my users are unable to boot in single user mode via GRUB.. (1 Reply)
Discussion started by: ankit.jss
1 Replies
5. AIX
Hi All,
I have AIX 5.1 & I forgot the root password. I find out the solution is to boot in single-mode and remove the root password from the /etc/passwd file. My question is how to boot in single-mode? Also is there any password required when booting in this mode? (9 Replies)
Discussion started by: aldowsary
9 Replies
6. UNIX for Dummies Questions & Answers
How to enter single user mode when UNIX/LINUX system is starting? (1 Reply)
Discussion started by: gkreddy
1 Replies
7. UNIX for Dummies Questions & Answers
hello ppl, someone must be able to help with this --> I have an old NCR tower 32 with an ADDS terminal running a unix version 020102 (Im not sure if thats correct but its unix for sure). I have no user names and no passwords and need to login to read a tape. Is there any way to do that? I hear... (3 Replies)
Discussion started by: orestis
3 Replies
8. Solaris
I have Sun 240 server with Solaris 8 installed. I go to OBP and try to boot in single-user mode but it is getting hung in the middle and the only way to get out of this situation is by going to the LOM and resetting the server. Here is what is happening:
{0} ok boot -s
SC Alert: Host System... (18 Replies)
Discussion started by: StarSol
18 Replies
9. Solaris
Hi everybody, I'm running soalris 10, and I would like to know if it posible to boot on single user mode(init s), and then set up (may be manually or not) all the networks services, did someone try this before??
Tks (4 Replies)
Discussion started by: jespada
4 Replies
10. Solaris
Dear All
I am trying to install my os as :
ok>boot cdrom - install
but receiving the following :
"IDprom checksum error
getexecname() failed
/sbin/rcS /etc/vfstab cannot create
INIT:failed write utmpx enrty
INIT:single user mode
INIT:execle of /etc/sulogin failed
Enter run level"
Can you... (6 Replies)
Discussion started by: hadimotamedi
6 Replies
LEARN ABOUT HPUX
tcgetpgrp
tcgetpgrp(3C) tcgetpgrp(3C)
NAME
tcgetpgrp() - get foreground process group id
SYNOPSIS
DESCRIPTION
returns the value of the process group ID of the foreground process group associated with the terminal referenced by fildes. is allowed
from a process that is a member of a background process group (see termio(7)); however, the information can be subsequently changed by a
process that is a member of a foreground process group.
RETURN VALUE
Upon successful completion, returns the value of the process group ID of the foreground process group associated with the terminal refer-
enced by fildes. Otherwise, returns a value of -1 and sets to indicate the error.
ERRORS
fails if any of the following conditions are encountered:
The file associated with
fildes is the controlling terminal of the calling process, however, there is no foreground process group defined for
the controlling terminal.
fildes is not a valid file descriptor.
The file associated with
fildes is not the controlling terminal or the calling process does not have a controlling terminal.
WARNINGS
The error which is returned if the controlling terminal has no foreground process group, might not be returned in future releases, depend-
ing on the course taken by the POSIX standard. Portable applications therefore should not rely on this error condition.
SEE ALSO
setpgid(2), setsid(2), tcsetpgrp(3C), thread_safety(5), termio(7).
STANDARDS CONFORMANCE
tcgetpgrp(3C)