LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-04-2009, 07:06 AM   #1
chili811
LQ Newbie
 
Registered: Feb 2009
Posts: 5

Rep: Reputation: 0
Bash Commands


Hi..


I found this commands in some bashscripts and I want to know what they mean. Anyone who can help me understand?



#$MYSTR

”$MYSTR”

’$MYSTR’

$(MYSTR)

$0

Thanks
 
Old 03-04-2009, 07:11 AM   #2
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-14.2beta3 on Lenovo Thinkpad W520
Posts: 6,785

Rep: Reputation: 2121Reputation: 2121Reputation: 2121Reputation: 2121Reputation: 2121Reputation: 2121Reputation: 2121Reputation: 2121Reputation: 2121Reputation: 2121Reputation: 2121
See 'man bash', 'info bash' and the guides available here.

Tip: type 'man:bash' or 'info:bash' (without the quotes) in konqueror's address bar for an easier reading.

Last edited by Didier Spaier; 03-04-2009 at 07:13 AM.
 
Old 03-04-2009, 07:44 AM   #3
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738
I'm not sure what your question is....For starters, those don't look like commands.

Please give us the context of your question.
 
Old 03-04-2009, 08:42 AM   #4
SlowCoder
Member
 
Registered: Oct 2004
Location: Southeast, U.S.A.
Distribution: Fedora (Desktop), CentOS (Server), Knoppix (Diags)
Posts: 934

Rep: Reputation: 38
They look like variables to me. Their value might hold a command, which could be executed by the bash shell from the script.
 
Old 03-04-2009, 12:05 PM   #5
tredegar
LQ 5k Club
 
Registered: May 2003
Location: London, UK
Distribution: Debian "Jessie"
Posts: 6,085

Rep: Reputation: 398Reputation: 398Reputation: 398Reputation: 398
Looks like homework to me
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
help with bash commands panicfire Linux - Newbie 6 05-25-2008 07:27 PM
bash commands davatar Slackware 2 04-06-2005 04:05 AM
bash commands Obie Linux - Security 4 08-15-2004 03:42 PM
Bash commands PhuckFonix Linux - Newbie 2 03-30-2004 08:13 PM
Bash commands wprescott Linux - Distributions 6 04-27-2002 03:56 PM


All times are GMT -5. The time now is 10:28 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration