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
Homemade echo command sx3v1l_1n51de Shell Programming and Scripting 2 11-04-2008 03:03 PM
Help in sorting echo command ahjiefreak Shell Programming and Scripting 3 03-28-2008 06:08 AM
Nested Echo Command Help findprakash UNIX for Dummies Questions & Answers 2 09-22-2007 01:26 AM
echo command result umen UNIX for Dummies Questions & Answers 2 11-10-2005 08:39 AM
Echo Command to Tape gordbaby AIX 0 06-20-2005 04:26 PM

Closed Thread
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
  #1 (permalink)  
Old 11-18-2008
howdy howdy is offline
Registered User
  
 

Join Date: Nov 2008
Posts: 2
Echo command with $$ $# $@

Hi,

Good morning. Would you please explain to me what does it mean by the following command.

echo "$$ $# $@" >> /opt/ftp_generic_send.log

I know that something is being directed to log file, but not sure what exactly mean by those $$ and $# and $@ means.

Thank you for your help. Have a nice day.

Regards.
  #2 (permalink)  
Old 11-18-2008
jim mcnamara jim mcnamara is offline Forum Staff  
...@...
  
 

Join Date: Feb 2004
Location: NM
Posts: 5,807
$$ == current pid of the process
$# == number of aguments on the command line
$@ == all of the arguments
  #3 (permalink)  
Old 11-18-2008
vbe's Avatar
vbe vbe is offline Forum Staff  
Moderator
  
 

Join Date: Sep 2005
Location: Switzerland - GE
Posts: 1,585
Extra reading:
Reference Cards
  #4 (permalink)  
Old 11-18-2008
howdy howdy is offline
Registered User
  
 

Join Date: Nov 2008
Posts: 2
Hello Jim mcnamara and vbe,

Thank you very much for your help and have a nice day.

Regards.
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 05:48 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