LinuxQuestions.org
Register a domain and help support LQ
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 05-08-2008, 05:31 PM   #1
JJ31069
LQ Newbie
 
Registered: May 2008
Posts: 2

Rep: Reputation: 0
What does "$" mean?


I am new to Linux. Using cygwin to XWin to a RedHawk server. I was told the location of the file I need is at $somplace\top.

What does the "$" mean? Is this like an environment variable? How do I get to that directory.

Thanks.
 
Old 05-08-2008, 05:45 PM   #2
sowell
LQ Newbie
 
Registered: Jul 2007
Posts: 19

Rep: Reputation: 0
$ usually is something you see for a normal user using most shells. Thats not the true answer you are looking for, but thats all i know. I'm curious to know the answer to that myself.

sol
 
Old 05-08-2008, 06:00 PM   #3
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Blue Ridge Mountain
Distribution: Debian Jessie, Linux Mint 17
Posts: 7,793

Rep: Reputation: 292Reputation: 292Reputation: 292
$ has the meaning of "the contents of". Try these two commands:

echo PATH
echo $PATH

-----------------
Steve Stites
 
Old 05-08-2008, 06:11 PM   #4
sowell
LQ Newbie
 
Registered: Jul 2007
Posts: 19

Rep: Reputation: 0
ahhhh, interesting, thanks...

sol
 
Old 05-08-2008, 08:46 PM   #5
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738
"$" also means "end of line" or "end of file" in certain programs--eg SED.
It can also be the prompt in your terminal.
Or it can just mean "dollars"

Take your pick....
 
Old 05-09-2008, 09:36 AM   #6
Pikidalto
Member
 
Registered: Apr 2008
Location: North Versailles, PA
Distribution: Ark Linux
Posts: 63

Rep: Reputation: 15
My understanding was that it means a prompt in CLI, as in:

$ some_command_here
 
Old 05-09-2008, 09:49 AM   #7
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738
Quote:
Originally Posted by Pikidalto View Post
My understanding was that it means a prompt in CLI, as in:

$ some_command_here
That's only one of the possible meanings---did you read the thread?
 
Old 05-09-2008, 10:03 PM   #8
fbianconi
Member
 
Registered: Apr 2008
Location: argentina
Distribution: Arch
Posts: 86

Rep: Reputation: 22
I think that it means that who answered the question didn't know the exact path, but the file you're looking for is in a folder named top.
the $somplace thing is like saying /some/path/to/top, because in a shell it would be a variable
(this is my best guess)
 
  


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
net working eth0 eth1 wlan0 "no connection" "no LAN" "no wi-fi" Cayitano Linux - Newbie 5 12-09-2007 08:11 PM
Standard commands give "-bash: open: command not found" even in "su -" and "su root" mibo12 Linux - General 4 11-11-2007 11:18 PM
"Xlib: extension "XFree86-DRI" missing on display ":0.0"." zaps Linux - Games 9 05-14-2007 04:07 PM
LXer: Displaying "MyComputer", "Trash", "Network Servers" Icons On A GNOME Desktop LXer Syndicated Linux News 0 04-02-2007 09:31 AM
Any way to get "Alice"; "Call of Duty" series and "Descent 3" to work? JBailey742 Linux - Games 13 06-23-2006 02:34 PM


All times are GMT -5. The time now is 06:30 AM.

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