this post was submitted on 23 May 2025
5 points (100.0% liked)
Nix / NixOS
2277 readers
6 users here now
Main links
Videos
founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
The letter ~ (tilde) is relative to the current user. When you use sudo, you become root. So ~ points to
/root
. Whereas if you are not using sudo then ~ points to/home/yourname