-1

If I use the command:

ksh -l

Does it call the file profile.ksh? And what does the -l option do?

1
  • 2
    try man ksh .. Feb 6, 2015 at 5:55

1 Answer 1

0

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

2
  • Which is the real ksh? ksh or ksh93?
    – muru
    Feb 6, 2015 at 9:43
  • ksh93 is a newer version. See Q5 here.
    – Mitch
    Feb 6, 2015 at 11:43

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .