3 ms·
Those are equivalent.
by birdiesanders 2y ago
Those are equivalent.
- michaelmior 2y agoOn most systems, that is not the case. Typically a user's home directory is `/home/USERNAME` so `~/etc` would be `/home/USERNAME/etc`.
- execat 2y agoNo. ~etc is equivalent to /home/etc. ~/etc is the same as /home/<current user>/etc.
- ijustlovemath 2y agoTry it for yourself: [ /home/etc = ~/etc ] || echo theyre different