?- pwd. % /home/janw/src/swipl-devel/linux/ true. ?- cd('~/tmp'). true. ?- pwd. % /home/janw/tmp/ true.
likes.pl is also installed in a subdirectory
insides SWI-Prolog's installation directory and may be loaded regardless
of the working directory using the command below. See
for details on how SWI-Prolog specifies file locations.
?- [swi(demo/likes)]. true.
After this point, Unix