How to execute a program in linux when the path starts with ".." -



How to execute a program in linux when the path starts with ".." -

i'm facing problem, , though might inquire dumb question!

how can run programme in ubuntu when path relative current directory?

assume i'm in /mydirectory, , programme run here ../otherdir/program, need run . ../otherdir/program. not work. have cd .. , ./otherdir/program!!

you can either do

../your/path/./program

where programme located in path folder, or execute regular path argument binary, illustration shell scripts

sh ../your/path/program

linux

Comments

Popular posts from this blog

ruby on rails - Devise Logout Error in RoR -

model view controller - MVC Rails Planning -

php - Working with pretty urls on apache and fastcgi after hhvm installation -