The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > OS Specific Forums > SUN Solaris
Google UNIX.COM


SUN Solaris The Solaris Operating System, usually known simply as Solaris, is a free Unix-based operating system introduced by Sun Microsystems .

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
handling Infinite fork ashish_uiit UNIX for Advanced & Expert Users 3 05-20-2008 11:22 PM
the given code goes in infinite loop and does not increment variable i mrityunjay22 Shell Programming and Scripting 6 12-25-2007 10:20 PM
Infinite Loop in Autosys while running a shell script, Manual run is fine sharmagaurav_2k Shell Programming and Scripting 2 09-04-2007 05:20 AM
pick the bug the server enters an infinite loop arjunjag High Level Programming 3 07-18-2007 10:53 PM
high priority thread contains an infinite loop rvan High Level Programming 0 02-14-2007 05:30 AM

Reply
 
Submit Tools LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 07-09-2007
Registered User
 

Join Date: Jul 2007
Posts: 2
Stumble this Post!
ls command in infinite Loop

Hi,

whenever I am giving a 'ls' command system is going into infinite loop displaying the current home directory.

There is no separate shell script/file with ls name anywhere in the system.
I am using Solaris 10.

Any help / guidance in solving this problem is highly appreciated.

Thanks in advance
UPMirji
Reply With Quote
Forum Sponsor
  #2 (permalink)  
Old 07-09-2007
Registered User
 

Join Date: Mar 2007
Location: Chennai
Posts: 222
Stumble this Post!
Did you try,
Code:
which ls
Thanks,
Nagarajan Ganesan
Reply With Quote
  #3 (permalink)  
Old 07-09-2007
Perderabo's Avatar
Unix Daemon
 

Join Date: Aug 2001
Location: Washington DC Area
Posts: 8,443
Stumble this Post!
Try using the full path:
/usr/bin/ls
this will ensure that you are running the real ls. If this does the same thing, post some output so we can see how it looks.
Reply With Quote
  #4 (permalink)  
Old 07-16-2007
Registered User
 

Join Date: Jul 2007
Posts: 2
Stumble this Post!
Thanks guys for your prompt reply.

I had tried the both... and after carefull observation...
The problem turned out to be silly...
ENTER key on key board was getting stuck... causing the problem

Umakant
Reply With Quote
Google The UNIX and Linux Forums
Reply

Thread Tools
Display Modes




All times are GMT -7. The time now is 05:21 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008 The CEP Blog All Rights Reserved -Ad Management by RedTyger Visit The Global Fact Book

Content Relevant URLs by vBSEO 3.2.0