Hello,

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!

Recommended Answers

U can add current directory to $PATH
PATH=$PATH:.

Jump to Post

All 2 Replies

U can add current directory to $PATH
PATH=$PATH:.

Hello shank,

Thanks a lot! That was helpful

Regards

Be a part of the DaniWeb community

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