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, |
~/clamav/bin/freshclam == /home/user/clamav/bin/freshclam
:) |
thanks
thanks friend,
|
~ 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.
|
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. |