![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Rules & FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| 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 !! |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Change All File Names in a Directory | andou | UNIX for Dummies Questions & Answers | 8 | 01-22-2008 05:06 PM |
| Command to list directory names only | stevefox | UNIX for Dummies Questions & Answers | 6 | 11-29-2007 04:06 PM |
| How to sort directory names and use only last? | siegfried | Shell Programming and Scripting | 0 | 09-18-2006 10:50 AM |
| directory names in a flat file | surjyap | Shell Programming and Scripting | 2 | 10-06-2005 04:51 AM |
| Directory names that contain spaces and other suggestions? | Shakey21 | Shell Programming and Scripting | 5 | 01-09-2002 02:29 PM |
|
|
LinkBack | Thread Tools | Display Modes |
|
|||
|
Use of $ in directory names
I have a TAR (compressed) file that I uncompressed using the following command
$ tar xvf uagent.tar It created a directory structure as follows <root>/arcagent/UAGENT/reloc/$UAGENT_HOME/ How do I access files under the $UAGENT_HOME? Every time I do change directory command, the OS thinks $UAGENT_HOME is an alias (which it is not), and I get sent to another directory. If I try to access a file in that directory, I get a message saying the file does not exist, because the OS interprets the $UAGENT_HOME as an alias and looks for the file in another directory. I need to get to the files under this $UAGENT_HOME directory, but can't. |
| Forum Sponsor | ||
|
|
|
|||
|
the "$" and many other charters are called metacharters. they have special meanings to the shell and various programs. in order to use them for there litterl meanings you must escape them. as mentioned above normally the "\" is the escape sequance.
|
|||
| Google UNIX.COM |