![]() |
|
|
google unix.com
|
|||||||
| Forums | Registreer | Forum Regels | Links | Albums | Veelgestelde vragen | Ledenlijst | Kalender | Zoeken | Today's Posts | Markeer forums als gelezen |
| Programmeren en Shell Scripting Post vragen over KSH, CSH, SH, Bash, Perl, PHP, sed, awk en andere shell scripts en shell scripting talen hier. |
Meer UNIX en Linux Forum Onderwerpen Misschien vindt u Helpful
|
||||
| Draad | Thread Starter | Forum | Antwoorden | Last Post |
| Vangstsector Ctrl-C of Ctrl-D | sendhilmani123 | Programmeren en Shell Scripting | 2 | 05-02-2006 06:02 PM |
| hoe u op Ctrl + C in ksh | dradhzn | Programmeren en Shell Scripting | 0 | 05-01-2006 11:32 PM |
| Uitschakelen ctrl-c, ctrl-d, ctrl-d in ksh script | wtofu | AIX | 6 | 06-29-2005 05:41 PM |
| mijn ctrl + c werkt niet | yankee428 | UNIX voor Dummies Questions & Answers | 3 | 06-02-2005 02:35 PM |
| Script Ctrl + C | newtounix | UNIX voor Dummies Questions & Answers | 1 | 03-19-2001 05:23 PM |
![]() |
|
|
LinkBack | Thread Tools | Zoeken in deze Thread | Rate Thread | Display Modes |
|
|
|
||||
|
Citaat:
Maar ik weet niet iedere smaak van Unix. Meestal nohup wordt alleen uitgevoerd bij het opstarten van een commando gegeven als argument, maar niet hechten aan een lopend proces. Als u met uw job controle in Bash dan kun je gebruik maken van de ingebouwde verstoten commando als Code:
$ echo $0 bash $ sleep 600 & [1] 5764 $ disown -h %1 Nu bent u in staat om uit te loggen zonder dat de shell het verzenden van een SIGHUP om uw verstoten slaap baan. Mag ik verwijs u naar man bash: Code:
disown [-ar] [-h] [jobspec ...]
Without options, each jobspec is removed from the table of
active jobs. If the -h option is given, each jobspec is not
removed from the table, but is marked so that SIGHUP is not sent
to the job if the shell receives a SIGHUP. If no jobspec is
present, and neither the -a nor the -r option is supplied, the
current job is used. If no jobspec is supplied, the -a option
means to remove or mark all jobs; the -r option without a job‐
spec argument restricts operation to running jobs. The return
value is 0 unless a jobspec does not specify a valid job.
|
|
|||||
|
hier is de proc ..
slapen 100 Ctrl + Z [1] + Stopped (SIGTSTP) sleep 100 ps PID TTY TIME CMD 598132 pts / 3 0:00 slaap 100 2060484 pts / 3 0:00-ksh 2347048 pts / 3 0:00 ps 2449582 pts / 3 0:00-ksh 3076200 pts / 3 0:00-ksh nohup-p 598132 fg% 1 of bg% 1 als dit niet zal werken veranderen de OS |
![]() |
| Bladwijzers |
| Thread Tools | Zoeken in deze Thread |
| Display Modes | Beoordeel deze draad |
|
|