1

I am trying to execute a script to determine its system running time and potentially fix its problems.

If I type:

{hostname@bankofamerica]$ ./xx-xxx-xxxxx.sh 
[sudo] password for hostname: 
_ 

It has been like this for a while! I am guessing the system is still running, but I don't see the problems. How can I find out about the problems here? Any tips are greatly appreciated!

  • We can't possibly help you out unless you add the contents of the script to the question. There is no telling from what you have provided so far what the problem might be. – ojs Nov 16 '16 at 20:36
  • See this question for general tips on debugging bash scripts How to debug a bash script? – Paul H. Nov 16 '16 at 20:37
  • You did execute the script; it apparently has a sudo'd command in it. – Jeff Schaller Nov 17 '16 at 11:19
  • Your username is hostname and your hostname is bankofamerica?!? – jayhendren Nov 26 '16 at 3:34
1

No expert here, but it would appear it's waiting for you to type in the password.

  • I typed the password, and it's still on __ page. Hmm!! I guess this script is taking a long time to load, but I can't find the reason why!! – Dojo Nov 16 '16 at 20:20

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.