Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do I get a full path to a program in linux?

Tags:

linux

mono

I need to get to the full path of mono because it seems things are messing up when I just use the command "mono" through cronjobs

I have this: /usr/etc/mono

But I also have this: /usr/local/src/mono-2.10.2/mono

I'm not sure what i'm suppose to link it to. Any ideas please?

like image 641
Josip Gòdly Zirdum Avatar asked Dec 27 '22 10:12

Josip Gòdly Zirdum


2 Answers

Look at the output of

$ which mono
like image 187
Roman Byshko Avatar answered Jan 08 '23 12:01

Roman Byshko


Most likely /usr/etc/mono, as the other path looks like a source tree.

like image 22
Kenaniah Avatar answered Jan 08 '23 12:01

Kenaniah