08-07-2010
ctrl - c will actually give you the terminal back killing all the processes running under its ownership. then run the process in nohup mode -
ex -
>>nohup abc.sh &
above command will give you back the terminal and run the script/ command in background. Once you logout the session, shell will transfer the ownership of the process to bin.
This User Gave Thanks to kd09714 For This Post:
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Guys,
can you help me in killing the process which is running in back ground under for loop
I am not able to find the PID using ps -afx|grep <word in command I entered> (1 Reply)
Discussion started by: mohan_xunil
1 Replies
2. Solaris
Hi,
I want to run 2 snoop commands in the background and would like to be able to kill them when I want to. What is the best way to do that at the command line?
if I do a fg at the terminal, will that bring only the snoop that I got running myself so I stop them with a CTRL_C or will that... (2 Replies)
Discussion started by: Pouchie1
2 Replies
3. Shell Programming and Scripting
Hi ,
I want to see all the background process that are running in unix box machine...please guide me is there any specific command for that..since I am executing some scripts at background..!!:confused: (1 Reply)
Discussion started by: nks342
1 Replies
4. Solaris
hi all
i am running following command
ufsdump 0ubf 512 /dev/rmt/0cbn /database/backup2/rman_backup/level1 >> /database/backup2/backup_tape/level1_rman_03aug12 2>&1;
i want to run it in background how can i do it
in this i am generating logs for backup.
the problem occurs when i am... (3 Replies)
Discussion started by: nikhil kasar
3 Replies
5. Linux
Hi All,
i am trying to put ls -lRt command to run in the background but it fails.
i continue to get output on screen and didnt get the command prompt right after i put the command in background.
command i am using is
ls -lRt &
i am using bash.
Can someone let me know how to... (6 Replies)
Discussion started by: omkar.jadhav
6 Replies
6. Shell Programming and Scripting
All,
1.What is the unix comand used for all current running process (Including All current running processes Parent ->child->subchild process)
2.If child and subchild processes are running then what is the unix command to kill parent and its all child subchild processes in UNIX.
Kindly... (7 Replies)
Discussion started by: skp
7 Replies
7. UNIX for Dummies Questions & Answers
I am trying to run a command. This is one of my attempts:
for i in fileservera; do ssh -t $i 'sudo ls /';doneThis works, and I see the directories. However, what I want to do now is start a process on the remote server such as /usr/bin/connectproc -standalonesudo /usr/bin/connectproc... (1 Reply)
Discussion started by: newbie2010
1 Replies
8. UNIX for Beginners Questions & Answers
Hi Team ,
I have one process named as cec_analysiseool that is running on unix box machine now i want to kill this process so please advise what will be the ideal command to kill this , what i have tried is :confused:
kill -9 `ps -ef | grep cec_analysiseool | grep -v grep | awk '{print $2}'` (2 Replies)
Discussion started by: unclesamm
2 Replies
9. Shell Programming and Scripting
Hi All,
Suppose I have a script and inside it I want/need to put it into background. I need the script to not react to SIGHUP signals.
I tried:
#!/bin/bash
echo "" > test_disown
mypid=$$
echo "PID=$mypid"
(
kill -SIGSTOP $mypid
jobs > myjobs
#disown -h <job-spec>
#kill -SIGCONT $mypid
)... (6 Replies)
Discussion started by: JackK
6 Replies
10. Shell Programming and Scripting
Hello,
I am running a python file from terminal and I wish to see which code is running at background. When I use htop, I see just a few commands, unable to see entire command.
htop > report
nano report
Output:
^
Following parts of ffmpeg line is not shown by htop. Just showing... (7 Replies)
Discussion started by: baris35
7 Replies
LEARN ABOUT OSF1
xsetroot
xsetroot(1X) xsetroot(1X)
NAME
xsetroot - root window parameter setting utility for X
SYNOPSIS
xsetroot [-help] [def] [-display display] [cursor cursor-file maskfile] [-cursor_name cursorname] [-bitmap filename] [-mod x y] [-gray]
[-grey] [-fg color] [-bg color] [-rv] [solid color] [-name string]
OPTIONS
The various options are as follows: Print a usage message and exit. Reset unspecified attributes to the default values. (Restores the
background to the familiar gray mesh and the cursor to the hollow x shape.) This lets you change the pointer cursor to whatever you want
when the pointer cursor is outside of any window. Cursor and mask files are bitmaps (little pictures), and can be made with the bitmap(1X)
program. You probably want the mask file to be all black until you get used to the way masks work. This lets you change the pointer cur-
sor to one of the standard cursors from the cursor font. Refer to appendix B of the X protocol for the names (except that the XC_ prefix
is elided for this option). Use the bitmap specified in the file to set the window pattern. You can make your own bitmap files (little
pictures) using the bitmap(1X) program. The entire background will be made up of repeated "tiles" of the bitmap. This is used if you want
a plaid-like grid pattern on your screen. x and y are integers ranging from 1 to 16. Try the different combinations. Zero and negative
numbers are taken as 1. Make the entire background gray. (Easier on the eyes.) Make the entire background grey. Use color as the fore-
ground color. Foreground and background colors are meaningful only in combination with -cursor, -bitmap, or -mod. Use color as the back-
ground color. This exchanges the foreground and background colors. Normally the foreground color is black and the background color is
white. This sets the background of the root window to the specified color. This option is only useful on color servers. Set the name of
the root window to string. There is no default value. Usually a name is assigned to a window so that the window manager can use a text
representation when the window is iconified. This option is unused since you cannot iconify the background. Specifies the server to con-
nect to; see X(1X).
DESCRIPTION
The setroot program allows you to tailor the appearance of the background ("root") window on a workstation display running X. Normally,
you experiment with xsetroot until you find a personalized look that you like, then put the xsetroot command that produces it into your X
startup file. If no options are specified, or if -def is specified, the window is reset to its default state. The -def option can be spec-
ified along with other options and only the non-specified characteristics will be reset to the default state.
Only one of the background color/tiling changing options (-solid, -gray, -grey, -bitmap, and -mod) may be specified at a time.
SEE ALSO
X(1X), xset(1X), xrdb(1X)
AUTHOR
Mark Lillibridge, MIT Project Athena
xsetroot(1X)