Shell (Bash and Zsh) Notes

Posted on Cts 17 Ağustos 2013 in old • 1 min read

Don't use ~ in scripts, use $HOME

I used ~ several times in scripts and it may or may not work. Use $HOME to refer to the home dir, it always works.