in reply to How start an application on Linux

If you do it the standard way, running just
sudokutrainer.pl

should work. I have more than 50 executables in ~/perl/bin installed by various CPAN modules.

لսႽ† ᥲᥒ⚪⟊Ⴙᘓᖇ Ꮅᘓᖇ⎱ Ⴙᥲ𝇋ƙᘓᖇ

Replies are listed 'Best First'.
Re^2: How start an application on Linux
by GUIfriend (Sexton) on Jan 18, 2014 at 15:21 UTC

    Thanks to all of you for your kind help. In summary, I conclude that command sudokutrainer.pl is the best choice for Linux.

    BTW, on Windows the command sudokutrainer works because there is a batch script  sudokutrainer.bat created automatically in parallel to the Perl script  sudokutrainer.pl.

      In linux you can omit the extension, so just 'sudokutrainer' or sudoku-t or something like this is in fact a better choice to type (sorry, 'sudoku', 'sudo' and 'su' are already caught). Shorter is better

      to start an executable in a terminal you can simply open a terminal, go to the directory and wrote:

      dot-slash-executablename

      $ ./sudokutrainer

      Is the easier way. You can put the program in some place like /usr/local/bin also, export the path, and avoid the need to wrote dot-slash, (you are just saving to type two characters). Of course you need to specify before that the program is executable by "everybody" with:

      # chmod a+x sudokutrainer
        In linux you can omit the extension
        Yes you can, but you have to delete it from the filename itself first (just to clarification for MSWin-only users).
        لսႽ† ᥲᥒ⚪⟊Ⴙᘓᖇ Ꮅᘓᖇ⎱ Ⴙᥲ𝇋ƙᘓᖇ