If I use the command:
ksh -l
Does it call the file profile.ksh
? And what does the -l
option do?
ksh
is a command interpreter intended for both interactive and shell script use. Its command language is a superset of the sh shell language.-l
Login shell. If the basename the shell is called with (i.e. argv[0]) starts with ‘-’ or if this option is used, the shell is assumed to be a login shell and the shell reads and executes the contents of /etc/profile and $HOME/.profile if they exist and are readable.ksh-OpenBSD
See also ksh-Linux man page
man ksh
..