On the UNIX system that I am current working, to open a file in the pico editor ,I need to do the following:

>./pico  filename.c

Is there a script/command that I can execute which will remove the dot/slash and change that to:

> pico filename.c

Thank you!

U can add current directory to $PATH

Hello shank,

Thanks a lot! That was helpful


Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.