LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   what is mean by "~/" in front of a command line? (https://www.linuxquestions.org/questions/linux-newbie-8/what-is-mean-by-%7E-in-front-of-a-command-line-268296/)

Niceman2005 12-20-2004 01:54 AM

what is mean by "~/" in front of a command line?
 
Dear all,

I read from somewhere that says, type:

~ /clamav/bin/freshclam

at the command terminal. I just want to know what is mean by "~ /" ?
is it indicating a path or something?

Thanks in advance,

cs-cam 12-20-2004 02:01 AM

~/clamav/bin/freshclam == /home/user/clamav/bin/freshclam

:)

Niceman2005 12-20-2004 02:04 AM

thanks
 
thanks friend,

rjlee 12-20-2004 03:39 AM

~ is expanded by the shell to be the value of the HOME environment variable, which should be set to a directory that is read/write/executable by the current user.

whipermr5 12-20-2004 07:59 AM

It is simply your home directory. Here's a tip: If you are not sure what something refers to, try "echo x", where "x" is the thing you're unsure of.


All times are GMT -5. The time now is 10:13 AM.