The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
Google UNIX.COM


UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
ftp server on old home computer - a few questions boredbody UNIX for Dummies Questions & Answers 1 03-11-2008 03:07 PM
Which Linux to get for home computer? DeuceLee UNIX for Dummies Questions & Answers 6 01-05-2008 05:37 AM
I want to turn my home computer into an internet server. gparsons70 UNIX for Dummies Questions & Answers 4 10-25-2001 06:26 PM

Reply
 
Submit Tools LinkBack Thread Tools Display Modes
  #1  
Old 02-09-2006
Registered User
 

Join Date: Feb 2006
Posts: 1
why doesn't this script work on my home computer?

Now it could be as simple as at work I use tsch, and at home it is bash.

Warning, first post and I am a complete newbie to unix.

At work, I use a simple script for updating a window when I am watching to see how a render is doing...

while 1
echo ---------------------------
echo
ls -lrth
echo
sleep 5
end

So I thought I would try the script on my home Mac. But nothing seems to happen. What would the problem be?

Thanks.
Reply With Quote
Forum Sponsor
  #2  
Old 02-10-2006
RTM's Avatar
RTM RTM is offline
Hog Hunter
 
Join Date: Apr 2002
Location: On my motorcycle
Posts: 3,039
Bash while syntax is different. See the man page for bash or switch to tcsh on your MAC if it has it.

while list; do list; done
Reply With Quote
Google The UNIX and Linux Forums
Reply

Thread Tools
Display Modes




All times are GMT -7. The time now is 12:24 PM.


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

Content Relevant URLs by vBSEO 3.2.0