Normally the file gets parsed on startup of a new shell (not at system boot!). So you can just start another shell and your changes to ~/.profile
will be present. However, you can also "source" the file in the current shell session:
source ~/.profile
Note that source
is just human readable shortcut for the .
command. So, you can also issue
. ~/.profile
Thanks to @chepner for explaining that source
is an alias of .
and not vise versa.