lost the $ prompt - am I spawning shells??


Login or Register to Reply

 
Thread Tools Search this Thread
# 1  
Old 05-02-2011
lost the $ prompt - am I spawning shells??

When trying to get the correct syntax to cron a script that creates a file with the date stamp as its output, sometimes I get these results:

- from the command line, I may encounter an error that leaves me without the usual $ prompt. Am I in a new shell? I try to exit it with 'exit' or :q! and cannot get my prompt back. I can exit my putty session and start a new one to get back to a $ prompt.

- from cron, I get nothing - no error and no output file

My concern is that I am spawning processes that keep running, or shells that never die. Is that a valid concern? Is there a way I can check whether I am doing this?

Thanks,
-dog
Login or Register to Reply

|
Thread Tools Search this Thread
Search this Thread:
Advanced Search

More UNIX and Linux Forum Topics You Might Find Helpful
Spawning a TTY shell alvinoo Shell Programming and Scripting 3 11-13-2017 02:47 PM
Unable to move from rsc prompt to ok prompt manoj.solaris Solaris 9 05-26-2014 11:43 AM
How to Change the % prompt to - prompt in UNIX? manjiri sawant UNIX for Dummies Questions & Answers 2 07-18-2013 11:51 AM
Shell script executed from Informatica ETL tool is spawning 2 processes for one script chekusi Shell Programming and Scripting 2 05-21-2013 10:00 AM
Multiple pconsole processes spawning indefinetly Janpol AIX 3 03-22-2013 12:14 PM
Help! imapd is spawning multiple processes, all of a sudden, for no reason! fishsponge UNIX for Advanced & Expert Users 0 02-26-2009 11:19 AM
Crontab spawning multiple at processes gstuart UNIX for Advanced & Expert Users 10 08-18-2008 08:27 PM
Spawning multiple threads in Unix neeto Shell Programming and Scripting 5 04-17-2008 03:10 PM
spawning multiple processes spread across two files StrengthThaDon Programming 1 09-17-2007 05:03 PM
Lost Data Lost Admin murphsr Filesystems, Disks and Memory 3 09-07-2005 02:35 PM
spawning the same program laforge UNIX for Advanced & Expert Users 9 08-11-2005 02:58 PM
Spawning a shell script JimJim Shell Programming and Scripting 5 11-24-2004 07:37 AM
Spawning new shells from the command line in OpenStep 4.2 Rocketman8541 Shell Programming and Scripting 3 09-13-2004 10:12 AM
spawning new shells using dtterm in Solaris 8 Rocketman8541 Solaris 4 08-31-2004 05:52 PM