Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re^3: perl can't find my script on ubuntu

by RedElk (Hermit)
on Dec 15, 2010 at 16:31 UTC ( #877304=note: print w/ replies, xml ) Need Help??


in reply to Re^2: perl can't find my script on ubuntu
in thread perl can't find my script on ubuntu

Roboticus touched on it in his post. The change directory command is cd. However, before I use cd I start with the list command ls. This allows me to see everything in my home directory. From there, I cd into the needed directory. I may alternate these commands two or three times depending upon what level I need to get to. Admittedly, I prefer visual queues. Your stylings may vary

That being said, I'm always starting from my Ubuntu home directory. I would assume this is the case for you as well. But to check this, you can use the working directory command pwd. If you're not at your home directory use the cd command followed by nothing to navigate there.I've found this command line reference helpful.

I still think that you need a '/' at the beginning of the line when you intend to navigate multiple directories on the command line such as when you try to run your newline.pl script.

perl /begperl/newline.pl ^


Comment on Re^3: perl can't find my script on ubuntu
Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://877304]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (8)
As of 2014-09-02 22:46 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite cookbook is:










    Results (32 votes), past polls