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
plz clear my doubts soumya_v7 UNIX for Dummies Questions & Answers 3 03-13-2008 04:06 PM
What command do you use to clear the print que? nov_user UNIX for Dummies Questions & Answers 1 10-01-2007 02:09 PM
Clear confusion vibhor_agarwali UNIX for Dummies Questions & Answers 4 07-14-2005 09:21 AM
clear memory fenomen UNIX for Dummies Questions & Answers 2 06-24-2003 10:33 AM
How to clear screen giannicello High Level Programming 2 05-14-2002 05:32 PM

 
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1 (permalink)  
Old 04-03-2006
djkane djkane is offline
Registered User
  
 

Join Date: Feb 2006
Posts: 27
Problem with clear command

Hi All

I'm currently writing a very simple UNIX script to process some work. The very first thing I do on my script is use the "clear" command.

how my file looks...

clear
echo "Return status: $?"

For some strange reason, the return status being returned is 1, not 0 as i expected.

Has anyone ever encountered an anomaly like this before, or could there be some account permissions problem? It's very simple code, so basic that it's got me completely stumped!

Any help would be much appreciated.
 

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 05:19 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0