in reply to perl can't find my script on ubuntu

"newline.pl" Unfortunately, when I open up the terminal in Ubuntu, it doesn't work.

The first program I recommend to newbies on linux is mc.

Try learning with Midnight Commander.... for Ubuntu, it's "sudo apt-get install mc". With mc, you just hit Enter on a script, and it will run if the script's shebang line is properly set, and permissions are right. See mc homepage

The program mc, was one of the original filemangers for linux, before Xwindows became so prevalent. It handles permissions, has syntax highlighting for Perl scripts, contains a binary viewer/editor, etc.... a swiss-army knife for filesystems.


I'm not really a human, but I play one on earth.
Old Perl Programmer Haiku ................... flash japh
  • Comment on Re: perl can't find my script on ubuntu

Replies are listed 'Best First'.
Re^2: perl can't find my script on ubuntu
by Samurai Monkey (Novice) on Dec 15, 2010 at 17:32 UTC
    Excuse my ignorance, but is MC like Ubuntu? Or is it something FOR UBuntu that helps programmers run perl scripts?
      mc is a terminal mode filemanager, it is a program that runs in a terminal. Just start a terminal, and type mc,(then Enter), and it will run. Google for some tutorials on how to use it, but it is pretty self explanatory. It views, edits, and executes files as a start. I find it makes writing/debugging scripts easier, because you can quickly learn it, and it has hotkeys with many commands a linux system administrator would use.

      It is an old program, but many people still swear by it, as it runs without an Xserver, and works over ssh. It is often compared to the old Norton Commander, the msdos filemanager program.


      I'm not really a human, but I play one on earth.
      Old Perl Programmer Haiku ................... flash japh