Date: Thu, 20 Jun 2002 20:09:14 -0400 From: "Hongbin Yang" <yanghb@sympatico.ca> To: "Dan Nelson" <dnelson@allantgroup.com> Cc: <freebsd-questions@freebsd.org> Subject: Re: question to run linux program Message-ID: <002201c218b7$e0c601f0$0100a8c0@YANGTX> References: <001201c2187d$5e8be400$0100a8c0@YANGTX> <20020620225507.GA69670@dan.emsphone.com>
next in thread | previous in thread | raw e-mail | index | archive | help
I got it. It means that freebsd provides linux emulator for all of kinds of shells. Thanks Dan. yang > In the last episode (Jun 20), Hongbin Yang said: > > Hi all, > > > > As we know "brandelf" can be use to run linux binary. > > > > Now my question is : I have a linux application. Its executable is a > > piece of script. The line that starts the job is "exec XXXXX ......". > > How can I change to make it run in freebsd box? > > If what you're saying is you have a Linux software package, with > scripts and binaries in it, and the binaries run fine, but you also > want the scripts to run in Linux emulation as well, you can edit the > first line of the scripts to read > > #! /compat/linux/bin/sh > > (or bash, if that's what they had before). > > > If you're saying you have a standalone shell script and you want to run > it, just run it. It'll work. > > > -- > Dan Nelson > dnelson@allantgroup.com > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?002201c218b7$e0c601f0$0100a8c0>