LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   My instructions are for Linux, but I work in Win...what is the win equialent of (~)? (https://www.linuxquestions.org/questions/linux-newbie-8/my-instructions-are-for-linux-but-i-work-in-win-what-is-the-win-equialent-of-%7E-183919/)

michaelton 05-20-2004 08:29 PM

My instructions are for Linux, but I work in Win...what is the win equialent of (~)?
 
I'm trying to learn how to use 'R' for statistical computing...i'm in the first module and a string has the character ~, but it's mini and superscript? R is supposed to be run in UNiX, but i am in WIN 2000. is there a win equivalent to this symbol. i'm really stuck..thanks.

nukkel 05-21-2004 10:56 AM

If it occurs in a file path, it means where your home directory is. So if your username is joeuser, then ~/address.txt would expand to /home/joeuser/address.txt

In this case under Windows the closest equivalent would be C:\Documents and Settings\Joe User\

Other than that there's no special meaning in GNU/Linux to the '~' character.

Hope this helped

aaa 05-21-2004 11:15 AM

There is a %homedir% that works like ~ (not sure if it's spelled right).


All times are GMT -5. The time now is 08:45 AM.