I HAVE TWO MORE QUESTIONS [catching pid No, .. ]

1- I want to catch pid No of a script that i run and save it to a file. Particularly when it is run by nohup?
2- What is the difference between if [ test x= y ]; then
if (test x = y) then
The second scripts does not have a semicolon

1. What shell? Bourne,bash,csh,ksh???
Can you use $$ (not sure if this is in csh) and echo to a file?
($$ = current pid of the process/script)
2. Again ... what shell are you talking about? Bourne,bash, ksh, csh...
Patrick/

Similar Messages

  • I have some more question

    I have some more question.How can I create web.xml and check it.And
    how can check the URL patten.thanks

    write a simple Test servlet,compile it and place it in your WEB-INF\classes of your application context.configure this servlet class in your web.xml and access it thru your browser to test it all
    Regards
    padmanava

  • HT201363 i have two security questions but i don't have a rescue email address and i know my apple id and password, what should i do please help me!!:(

    i have two security questions but i don't have a rescue email address and i know my apple id and password, what should i do please help me!!:(

    If you don't have a rescue email address (you won't be able to add one until you can answer 2 of your questions) then you will need to contact iTunes Support / Apple to get the questions reset.
    Contacting Apple about account security : http://support.apple.com/kb/HT5699
    When they've been reset you can then use the steps half-way down this page to add a rescue email address for potential future use : http://support.apple.com/kb/HT5312

  • HT1937 I have two security question and can not remember them also I do not have rescue email address, what Can I do?

    I have two security question and can not remember them also I do not have rescue email address, what Can I do?

    You need to ask Apple to reset your security questions; ways of contacting them include clicking here and picking a method for your country, phoning AppleCare and asking for the Account Security team, and filling out and submitting this form.
    They wouldn't be security questions if they could be bypassed without Apple verifying your identity.
    (101276)

  • HT5312 What if you have two security questions but you remember your apple ID password? It doesn't give me the option to change my security questions/answers.

    What if you have two questions but you remember your apple ID password? It doesn't give me the option to change my security questions/answers.

    You need to contact Apple. Click here, phone them, and ask for the Account Security team.
    (87140)

  • Build dataguard two more questions. password prompt and certificate error

    The fiirt two data guard instances are built. One is running fine the second I'm getting this error in the primarys alert log. it looks like it is a certificate error but I'm having a hard time nailing it down.
    BTW: Instance is 11.2.0.1
    Thread 1 advanced to log sequence 318 (LGWR switch)
    Current log# 6 seq# 318 mem# 0: +DATA/sfs01/onlinelog/group_6.4762.769266689
    SSL Client: Server DN doesn't contain expected SID name
    Archived Log entry 706 added for thread 1 sequence 317 ID 0x799622d4 dest 1:
    Thu Mar 22 12:46:48 2012
    SSL Client: Server DN doesn't contain expected SID name
    The third and final data guard instance I'm building is 3T and taking forever to restore. Two questions:
    1) Can I suspend rman and restart it.
    2) when I restart rman how do I keep it from prompting me for the password. I would prefer to put a nohup on a shell script.
    Here is the script. Right now I'm running it manually but would relly to run with nohup so I can go get lunch.
    rman target SYS@sor01_primary auxiliary / << EOF
    run {
    allocate channel C1 device type disk;
    allocate auxiliary channel C2 device type disk;
    allocate auxiliary channel C3 device type disk;
    allocate auxiliary channel C4 device type disk;
    allocate auxiliary channel C5 device type disk;
    duplicate target database for standby nofilenamecheck;
    release channel C1;
    release channel C2;
    release channel C3;
    release channel C4;
    release channel C5;
    EOF

    Hello (certificate error is vague. By that I mean whoever wrote that error message)
    Can I suspend rman and restart it? I believe no, stop and restart should work.
    Something like this, I use an env file can post if it helps :
    #!/bin/bash
    . /u01/app/oracle/dba_tool/env/DATABASE.env
    echo "Starting RMAN..."
    $ORACLE_HOME/bin/rman target SYS@sor01_primary auxiliary << EOF
    run {
    allocate channel C1 device type disk;
    allocate auxiliary channel C2 device type disk;
    allocate auxiliary channel C3 device type disk;
    allocate auxiliary channel C4 device type disk;
    allocate auxiliary channel C5 device type disk;
    duplicate target database for standby nofilenamecheck;
    release channel C1;
    release channel C2;
    release channel C3;
    release channel C4;
    release channel C5;
    }My env file ( yours will be different ) use env to check you compare to your profile
    export ORACLE_BASE=/u01/app/oracle
    export ORACLE_HOME=/u01/app/oracle/product/11.2.0.2
    export ORACLE_SID=STANDBY
    export ULIMIT=unlimited
    export ORA_NLS33=$ORACLE_HOME/ocommon/nls/admin/data
    export LD_LIBRARY_PATH=$ORACLE_HOME/lib:$ORACLE_HOME/network/lib
    export LIBPATH=$LD_LIBRARY_PATH:/usr/lib
    export TNS_ADMIN=$ORACLE_HOME/network/admin
    PATH=$ORACLE_HOME/bin:$ORACLE_BASE/dba_tool/bin:/bin:/usr/bin:/etc:/etc/X11/xserver/C:.
    export PATHI run from the cron which is similar to nohup as far as env goes.
    Best Regards
    mseberg
    Edited by: mseberg on Mar 22, 2012 2:32 PM
    Edited by: mseberg on Mar 22, 2012 2:41 PM

  • HT4858 I have 4 more questions to this article

    1. So now you can have 10000 photos in the Photostream at a time? (up from 1000?)
    2.How long will the photos stay in the stream?
    3.Can I upload 10000 photos every day?
    4.Will the previous days 10000 photos be overwritten if I upload 10000 new ones the next day?

    Adobe Reader is free; there is nothing to cancel.
    What exactly means "unable" - do you get any error messages?
    Try downloading the offline installer from http://get.adobe.com/reader/enterprise/

  • I have some more questions before I buy...

    What type of video file(s) do iPods recognize?
    Has anyone heard of ipod-movies.net, and do you know if it works well?
    White or black?
    iPod   Windows XP  

    Please do not bump your threads... especially only 40 minutes after you've posted.
    What type of video file(s) do iPods recognize?
    H.264 video: up to 768 Kbps, 320 x 240, 30 frames per sec., Baseline Profile up to Level 1.3 with AAC-LC up to 160 Kbps, 48 Khz, stereo audio in .m4v, .mp4 and .mov file formats
    MPEG-4 video: up to 2.5 mbps, 480 x 480, 30 frames per sec., Simple Profile with AAC-LC up to 160 Kbps, 48 Khz, stereo audio in .m4v, .mp4 and .mov file formats
    Has anyone heard of ipod-movies.net, and do you know if it works well?
    Never used it. Looks very sketchy to me.
    "Download Virtually any Movie, TV Show, Song, or Music Video for FREE with a few clicks of your mouse and transfer these to your iPod with ease."
    If any of those files are copyrighted material... then this site is providing an illegal file sharing service.
    White or black?
    Your iPod, your decision.

  • I have two questions *NEW TO MAC PLEASE HELP*

    Hi I've been a windows user basically my whole life and am now entering the new realm of mac. For now I have two basic questions:
    (1) I want to select certain files and delete them, but I dont want to select all of them, and I dont want to select one by one. With windows to do that I simply click and press shift on the first and last file that I want, and everything in between. I have no idea of how to do that on Mac and I really need to.
    (2) I am a spanish speaker and on windows whenever I need to use the letter ñ I simply go Alt+164. Is there a way to use this letter in mac by just using keystrokes??
    If anybody could help me out on this it would be greatly appreciated.

    (1) I want to select certain files and delete them,
    but I dont want to select all of them, and I dont
    want to select one by one. With windows to do that I
    simply click and press shift on the first and last
    file that I want, and everything in between. I have
    no idea of how to do that on Mac and I really need
    to.
    and you didn't try it? it works the same way on a mac: click on the first and shift click the last.
    to select one by one, click and command click the next,...
    (2) I am a spanish speaker and on windows whenever I
    need to use the letter ñ I simply go Alt+164. Is
    there a way to use this letter in mac by just using
    keystrokes??
    press alt-n and then press n

  • N95-3 two short questions

    Hi, yesterday received my new unlocked N95-3 (bronze, like it more than black). But I have two short questions:
    1. Is there anyway to end a call closing the slider? In my N80ie when I close the slider it ends the call (N80 is intelligent enough to know that if it is a BT headset connected closing the slider not end the call...).
    2. In Forum Nokia N95-3 specifications under Extra Features it´s listed PoC (Push To Talk over Cellular), in my N80 the feature is under "connectivity", but in my N95 where is the feature, I cannot find it...
    Thanks in advance.

    Right Darla, noticed that, but sinces Windows Live client still works don´t need for this one.
    By the way, my device arrived yesterday, so I don´t have much time to play with it, but, I could guess that after installed Y-Brownser if I make a search surely will find the PTT executable...
    Right now, the much missed feature to me is the chance to end a call closing the slider as in my N80ie (yeah, just today forgot it and ended up with a 20 minutes call...in my pocket, and yeah, with my girlfriend, lucky me I was driving alone and not talking with anybody). And sure perfect world if I could have the N80 screen resolution in N95 screen size...
    Last issue, with the N80 when I press the middle of the volume button of my BH-800 headset it mutes the line, anoying thing this don´t seems to work with N95...

  • Two app questions

    Ok all, I have two app questions.
    1. Ever since the IOS 5.1 update, some streams on Tune In Radio Pro do not play in stereo and I can't find a way to fix it! I've tried turning mono audio on and off, turning AAC streams on and off, and still nothing. Could it be that my phone is complaining that it doesn't have a sim card? That's my only theory at this point. I thought it had something to do with the stream bitrate and I have been working with the TuneIn support to try and get to the bottom of this, but nothing has worked. I thought it was just the 32 kbps and 48 kbps aac streams affected, but it seems to be all on some streaming providers. Here's some of the stations I've logged mono audio on, in Spokane, KZZU and KZBD, in Saint Lewis, WARH, in DC WRQX, in New York WPLJ, in Portland Maine WHOM, in Philidelphia WBEN, and in Yakima KFFM. These are all 32 or 48 kbps streams. I can't get stereo on KQMV or KLCK in Seattle, haven't tried KLCK actually as I listen to that enough over the air, I am just basing that one on how TuneIn is acting. I can also get KFFM in stereo via Radio Pup, so in that instance, it seems to be just a TuneIn issue. WBEN is also on IHeart Radio and does not come in in stereo on either app. I didn't mention KFAT in Ankorage, AK because they are with one of the providers that doesn't seem to have a stereo aac stream on TuneIn at all. Other stations in this category dealing with two providers here, WCLI in Dayton, OH, WJDQ Meridian MS, KMGL Oklahoma City, KLMY in Long Beach WA, not listed in a market on TuneIn, KRXY in Shelton also not listed under a city, and I feel like I am forgetting a few but that's most of them. If I didn't mention it before, KQMV and KLCK have 64 kbps aac streams as well as 32 kbps aac streams, problem only occurs on 32 kbps streams there. Any solution?
    2. Now this next question will go really fast. TuneIn must use some kind of audio capturing software to record, but you can only do that with TuneIn stations. Is there a way to do this with other apps, such as the hd radio that works with the Ibiquity app in the app store?

    Well, here's the skinny then. If it's an isolated issue and you cannot provide a way of replicating the problem, the Apple does not consider it an OS X problem. Rather it's a problem with the third-party software. Given what you have reported I'd tend to agree with that viewpoint.
    There are some third-party utilities that enable audio capture from applications that don't support it themselves. The best of them is Audio Hijack Pro 2.10.3. I highly recommend it.
    If you are interested in Internet radio then you should check out Radium 2.8.3 and/or World Radio 2.0 and/or Radioshift 1.6.7. The last one will record its audio.

  • Two random questions

    hey guys.. i have two random questions..
    1) when you recalibrate your battery... after you drain the computer and leave it for 5 hours.. when you RECHARGE IT (before its fully recharged) are you allowed to use it? or are you only allowed to use the macbook AFTER it's recharged... (because in the instructions it only talks about using it for the 2 hours AFTEr it's rechaarged)
    2) also... i always wondered if there was a better alternative between amc the ripper and handbrake (since mac the ripper apparently can rip different region coded dvds)... but ir ealised mac the ripper does FULL dvd rips whilst handbrake converts it into like mp4 and stuff... is that true? (as in.. u cant do vice versa on each?)
    thanks a buncho everybody! go the mac..

    2) I use handbrake if I am planning on watching the
    DVD on my ipod etc and Mac the Ripper to copy
    (Backup) full DVDs. Obviously I do this in America as
    it's illegal for some reason in the UK.
    It is illegal in the US too. Seems "fair use" does not apply to DVDs and disabling the copy protection (which you do when you rip your DVD via mac the ripper or handbrake) is against the law.

  • Two related questions:  ColdFusion 10/Java applications and J2EE supported servers

    I have two related questions:
    1.  CF10 and integration with Java Web applications
    We have a couple of Java applications running on JRun and interfacing with CF9 applications.  The JRun clusters were created through the JRun Admin and, apart from lack of Axis 2.0 support, have served us well for years now.  And, as would be the case, the ColdFusion9/Java/Flash application is a critical public-facing application that the business uses for bidding on projects.
    It appears that with ColdFusion 10 on Tomcat, we will not be able to run those Java applications on a Tomcat-CF10 JVM cluster.  Is this correct?  IF so, what are our options? 
    2.  J2EE Application Servers supported by Adobe for CF10
    Which of these is correct?
    A.  This URL (http://www.adobe.com/products/coldfusion-enterprise/faq.html) states "ColdFusion 10 supports IBM® WebSphere, Oracle® WebLogic, Adobe JRun, Apache Tomcat, and JBoss."
    B.  This URL (http://wwwimages.adobe.com/www.adobe.com/content/dam/Adobe/en/products/coldfusion/pdfs/cf1 0/coldfusion10-support-matrix.pdf) states:
    "J2EE application servers: WebLogic Server 10.3, 11.1, WebSphere Application Server 7, ND 7 JBoss 5.1, 6.0, 7.1.0"
    I *think* "A" above is wrong re. support for Adobe JRun.  It does not specify a version of Apache Tomcat unless it is simply referring to the custom version the comes with CF10.
    Option "B" above shows no support of Adobe JRun or 'standard' Apache Tomcat.
    Thanks,
    Scott

    Question 1 above was answered:  "No support for Java web applications under CF10's custom version of Tomcat"
    Question 2:  No answer yet:  Is Apache Tomcat (NOT Adobe's customized version) supported for CF10 J2EE deployment?  I do not see any installation instructions on how to install CF10 on Apache Tomcat 6 or 7.
    Is anybody using Apache Tomcat as their J2EE app servers and, again, NOT Adobe's customized/limited version? 
    Thanks,
    Scott

  • Two unrelated questions, syncing and mail

    I have two unrelated questions.
    1. I can't seem to for the life of me copy playlists between devices. Both my IPod Nano and my IPhone 4s are connected to my computer right now. Using autofill, I was able to put all the music in my ITunes library on my phone, but when I sellect the playlists, copy and paste them, they won't move and remain only on the IPod and the computer. Can someone please tell me how to get them onto my phone? There are currently no playlists on the phone.
    2. My other question is about mail, whenever I send a mail, the phone says that it was rejected by the server and a copy has been placed in my outbox. What's going on here?

    1) Is the "Manually Manage Music and Videos" box checked under the Summary tab in iTunes on each of your devices?
    2) Try deleting the account under Settings > Mail, Contacts, Calendars, and then re-add it.

  • One more question.

    Hey again. I am probably going to go get my iMactoday or tomorrow. But I have one more question. I am aware that Macs are pretty much prone to viruses. But!!! When I download a version of Windows on Bootcamp, will I still have the amazing security, or will it be viruses like owning a PC? Thank you very much!

    HI,
    *"I am aware that Macs are pretty much prone to viruses."*
    Just the opposite. Windows users are the one's vulnerable to a virus.
    You will need anti virus software on the Windows partition.
    Carolyn

Maybe you are looking for

  • Unable to mount ext4 filesystem (created from Ubuntu) in Solaris 11

    Hello everyone, I am trying to mount an ext4 filesystem which I created from Ubuntu. But mount command fails saying: prakhar@Solaris:~$ sudo mount /dev/dsk/c10t0d0p1 /mnt Password: mount: /dev/dsk/c10t0d0p1 is not this fstype And I also tried this: p

  • Songs in my itunes don't play anymore.  It says it can't locate original files.  HELP please.

    The songs in my itunes no longer play.  I have never had this problem before.  I was trying to update playlists, etc. and the songs were not transferring to my Iphone.  The error message for every song is that the original file cannot be located.  It

  • Migrating Application from Weblogic to JBOSS

    Hi all, I have an requirement to migrate Application running in Weblogic 8.1 to JBOSS, However my biggest problem is i do not have my JSP files and have only JSP converted Class files which are currently decomplied JAVA files and used in place of JSP

  • I am trying to work with idvd or imovie.Help

    I found a dvd of our river cruise we went on in 2009  It is called TSITFAT and before I try to import it I am wondering if it is for an apple computer.  Does anyone know?  I had a pc at the time and I'm afraid to import it even if I figure out how to

  • CS4 brush cursor faulty

    I recently installed Photoshop CS4 and find the brush cursor faulty. Only a portion of the cursor shows up. With a small brush most of the cursor shows. With a large brush only a small segment in the upper left shows. Anybody else have this problem?