urgent request


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers urgent request
# 1  
Old 06-28-2008
urgent request

While executing a ksh file with a input parameter in background like the following

bash-2.03$nohup fil.ksh 4 &

the nohup session is stopped.

The same ksh file while executed like

bash-2.03$fil.ksh 4

works fine.

I am trying the above in Solaris 5.8 in bash shell. Please let me know what is the issue and how we can resolve it.
# 2  
Old 06-28-2008
When a script runs in backgound it cannot write to the controlling terminal. So, echo or print statements, or any other operation that is writing to stdout may cause what you see.
# 3  
Old 06-29-2008
Please do choose a relevant and descriptive header to your posts.
Chances that somebody might look into this increases when you have a more detailed and relevant heading

Smilie
 
Login or Register to Ask a Question

Previous Thread | Next Thread

5 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

URGENT Reading a file and assessing the syntax shell script URGENT

I am trying to write a shell script which takes an input file as an arguement in the terminal e.g. bash shellscriptname.sh input.txt. I would like for the file to be read line by line each time checking if the .txt file contains certain words or letters(validating the syntax). If the line being... (1 Reply)
Discussion started by: Gurdza32
1 Replies

2. Shell Programming and Scripting

Urgent request to consider:Search specific name in a file and fetch specific entries

Hi all, I have 2 files, One file contain data like this FHIT CS CHRM1 PDE3A PDE3B HSP90AA1 PTK2 HTR1A ESR1 PARP1 PLA2G1B These names are mentioned in the second file(Please see attached second file) as # Drug_Target_X_Gene_Name:(Where X can be any number (1-1000) (1 Reply)
Discussion started by: manigrover
1 Replies

3. Emergency UNIX and Linux Support

Urgent request "remove all packages with dpkg"

Hi, this might sound somewhat weird, but I need a command to remove all packages on my machine with dpkg. I know dpkg -l will list all packages, but the troublemaker isn't on the list, and the problems started as I updated the program :wall:. Thanks in advance, I REALLY appreciate it :b: (8 Replies)
Discussion started by: pasc
8 Replies

4. Solaris

urgent request!!!!!!!

hi, i want to create oracle managed filesystem ASM in unix. i have a solaris machine which has some empty mounts. but,when i say format Searching for disks...done No disks found! and... cat /etc/vfstab #device device mount FS fsck mount mount #to... (6 Replies)
Discussion started by: rags_s11
6 Replies

5. HP-UX

URGENT HELP REQUEST!!!!Connection problem between HP3000 and HP9000

Hi, I am facing some problem in connecting the database(allbase) present on HP3000 through pro c programmin language that is being executed from HP 9000 machine could any one of you please help me!!! when i run the code on HP9000 machine it is connecting to database(access the local host)... (0 Replies)
Discussion started by: ahmedwaseem2000
0 Replies
Login or Register to Ask a Question