Sponsored Content
Top Forums UNIX for Dummies Questions & Answers How to boot in single user mode Post 302133325 by namishtiwari on Thursday 23rd of August 2007 01:41:05 AM
Old 08-23-2007
Quote:
Originally Posted by psiva_arul
Hi,

i want to retreive the background process to foreground process in SUN OS UNIX. how can it possiple...?

Regards,
Siva.P
Bangalore
There are comands like fg which will do your job,just go through it.

Thanks
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

single user mode

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

single-user mode

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

single user mode

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

single user mode

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

Boot in Single-Mode

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 Single user mode?

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

single user mode - user accounts passwords

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

Cannot boot in single-user mode

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

Boot on single user mode with net services

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

Single user mode

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
GETPGRP(2)						      BSD System Calls Manual							GETPGRP(2)

NAME
getpgrp -- get process group LIBRARY
Standard C Library (libc, -lc) SYNOPSIS
#include <unistd.h> pid_t getpgrp(void); pid_t getpgid(pid_t pid); DESCRIPTION
The process group of the current process is returned by getpgrp(). The process group of the process identified by pid is returned by getpgid(). If pid is zero, getpgid() returns the process group of the current process. Process groups are used for distribution of signals, and by terminals to arbitrate requests for their input: processes that have the same process group as the terminal are foreground and may read, while others will block with a signal if they attempt to read. This system call is thus used by programs such as csh(1) to create process groups in implementing job control. The tcgetpgrp() and tcsetpgrp() calls are used to get/set the process group of the control terminal. RETURN VALUES
The getpgrp() system call always succeeds. Upon successful completion, the getpgid() system call returns the process group of the specified process; otherwise, it returns a value of -1 and sets errno to indicate the error. COMPATIBILITY
This version of getpgrp() differs from past Berkeley versions by not taking a pid_t pid argument. This incompatibility is required by ISO/IEC 9945-1:1990 (``POSIX.1''). From the ISO/IEC 9945-1:1990 (``POSIX.1'') Rationale: 4.3BSD provides a getpgrp() system call that returns the process group ID for a specified process. Although this function is used to support job control, all known job-control shells always specify the calling process with this function. Thus, the simpler AT&T System V UNIX getpgrp() suffices, and the added complexity of the 4.3BSD getpgrp() has been omitted from POSIX.1. The old functionality is available from the getpgid() system call. ERRORS
The getpgid() system call will succeed unless: [ESRCH] there is no process whose process ID equals pid SEE ALSO
getsid(2), setpgid(2), termios(4) STANDARDS
The getpgrp() system call is expected to conform to ISO/IEC 9945-1:1990 (``POSIX.1''). HISTORY
The getpgrp() system call appeared in 4.0BSD. The getpgid() system call is derived from its usage in AT&T System V Release 4 UNIX. BSD
June 4, 1993 BSD
All times are GMT -4. The time now is 05:47 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy