LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
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 02-20-2008, 10:25 AM   #1
cj4331
Member
 
Registered: Feb 2008
Posts: 30

Rep: Reputation: 15
displaying path


Still working on that path probem. I could have sworn the other day when I typed echo $path as root I got a long path. Today it doesn't display anything just jumps down a couple lines and gives the the prompt again.

What do you think could be happening?
 
Old 02-20-2008, 10:29 AM   #2
weisso5
Member
 
Registered: Oct 2007
Location: New York City
Distribution: Gentoo, FC
Posts: 133

Rep: Reputation: 16
Please be a little bit more specific as to the problem you are having.

1. Are you trying to see your current location?
A. If so you need to use the "pwd" command
2. Are you trying to see your "Environmental Variables"?

3. Also a little bit more background to your problem

-weisso
 
Old 02-20-2008, 10:33 AM   #3
cj4331
Member
 
Registered: Feb 2008
Posts: 30

Original Poster
Rep: Reputation: 15
DARN CASE SENSITIVITY!!!!!!!! It's a bear having to learn and remember everything about 29 different languages and systems.
 
Old 02-20-2008, 10:36 AM   #4
cj4331
Member
 
Registered: Feb 2008
Posts: 30

Original Poster
Rep: Reputation: 15
CJ's going to hurt someone!
 
Old 02-20-2008, 11:07 AM   #5
forrestt
Senior Member
 
Registered: Mar 2004
Location: Cary, NC, USA
Distribution: Fedora, Kubuntu, RedHat, CentOS, SuSe
Posts: 1,288

Rep: Reputation: 99
You can see a list of all of your environment variables with "printenv". Generally they are all-caps.

HTH

Forrest

Oh, and please don't hurt us, we really do just want to help.
 
Old 02-20-2008, 06:19 PM   #6
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,359

Rep: Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751
Also see the set and env cmds.
 
  


Reply



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
Need help in displaying the relative path in C zacodi Programming 4 07-06-2007 01:55 PM
Need help in displaying the relative path zacodi Linux - Newbie 2 07-05-2007 04:14 PM
Question in displaying the relative path oliviapesayco Programming 1 06-30-2007 03:27 PM
script to change unix path to windows path in all files csross Programming 8 04-29-2006 01:05 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:09 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
Open Source Consulting | Domain Registration