/usr/share/sagemath/ext/gap/console.g is in sagemath-common 7.4-9.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 | # If we are loaded with a workspace then \$SAGE will be defined and in
# that case we need to call StartInteract so that the pager will be
# set correctly. See trac #5043.
if IsBound(\$SAGE) then
\$SAGE.StartInteract();
fi;
|