The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

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
cut - command not found solidhelix08 Shell Programming and Scripting 4 07-11-2008 10:29 AM
Command not found BigTool4u2 UNIX for Dummies Questions & Answers 2 03-08-2008 02:40 AM
cc command not found mishra_sk_in UNIX for Dummies Questions & Answers 4 08-14-2007 05:00 AM
how can i check in csh if command found or not found ? umen Shell Programming and Scripting 2 03-03-2007 07:38 PM
xlf: command not found!!!! mzzt AIX 2 01-05-2006 05:19 PM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 08-18-2008
pk_eee pk_eee is offline
Registered User
  
 

Join Date: Jul 2008
Posts: 18
print: command not found

Hi

I have print Apple >> /tmp/temp7.xls as part of my shell script. But when I execute I have the following error. Please help.

RT.sh: line 801: print: command not found
  #2 (permalink)  
Old 08-18-2008
redoubtable redoubtable is offline
Registered User
  
 

Join Date: Aug 2008
Location: Portugal
Posts: 242
Code:
printf Apple
or
Code:
echo Apple
  #3 (permalink)  
Old 08-18-2008
pk_eee pk_eee is offline
Registered User
  
 

Join Date: Jul 2008
Posts: 18
Thanks..

If Iam using printf, this is what I get

Apple10.2.2.2.3
10.2.3.4.5
10.2.3.4.3

But I want

Apple
10.2.2.2.3
10.2.3.4.5
10.2.3.4.3
  #4 (permalink)  
Old 08-18-2008
redoubtable redoubtable is offline
Registered User
  
 

Join Date: Aug 2008
Location: Portugal
Posts: 242
then use echo or printf "Apple\n"
  #5 (permalink)  
Old 08-19-2008
pk_eee pk_eee is offline
Registered User
  
 

Join Date: Jul 2008
Posts: 18
Thanks for your help....
  #6 (permalink)  
Old 08-25-2008
agasamapetilon agasamapetilon is offline
Registered User
  
 

Join Date: Aug 2008
Posts: 67
If you do not know where is located a command, just type:
Code:
which + command name
Closed Thread

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 08:57 AM.


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