Today (Saturday) We will make some minor tuning adjustments to MySQL.

You may experience 2 up to 10 seconds "glitch time" when we restart MySQL. We expect to make these adjustments around 1AM Eastern Daylight Saving Time (EDT) US.


An installation script on freeBSD


Login or Register to Reply

 
Thread Tools Search this Thread
# 1  
An installation script on freeBSD

Hello

So i got my hands on some freebsd iso, installed it in a qcow2 image and installled git and bash.
So far, so good.
  1. Git repositry retireved
  2. install script executed
  3. files got copied
  4. files have exec flag
  5. files are in $PATH / found by which / bash-completion works

But still, they cannot be executed when called in the shell.
-> Command not found <- Smilie

Why?
What am i missing please?

Know this is my very first experience with an actual installed bsd system.

Thank you in advance
An installation script on freeBSD-freebsd-exec-flagjpg
# 2  
Oook, guess i've figured...
The 'common' shebang of /bin/bash wont work when bash is in /usr/local/bin/...
The error was refering to the shebang, not the command itself, sorry.

/solved
This User Gave Thanks to sea For This Post:
# 3  
Hi.

I most often use env to find the program:
Code:
#!/usr/bin/env bash

or
Code:
#!/usr/bin/env perl

or
Code:
#!/usr/bin/env awk

etc.

I don't think it has ever failed on any of the systems I use: Solaris, Slackware, Fedora, Debian, {Free,Open,Net}BSD, etc.

See https://www.unix.com/302366990-post7.html for more details.

Best wishes ... cheers, drl
This User Gave Thanks to drl For This Post:
# 4  
Thats what i changed its shebang to Smilie
Login or Register to Reply

|
Thread Tools Search this Thread
Search this Thread:
Advanced Search

More UNIX and Linux Forum Topics You Might Find Helpful
FreeBSD Installation problems
Techmonkey
Hi all, I'm new to the world of Unix/Linux (though not to computing in general) and I'm having a few issues installing FreeBSD (v6.2). Firstly, I realise that it's not the most user-friendly of distros, especially for newbies, but it's what I'm required to install so unfortunately I have to...... BSD
2
BSD
freeBSD installation
AkinOkin
why is my new freeBSD hanging at setting up hostname each time I plug in the network cable i use host name like X.ng I intend to configure it as a gateway... Linux
2
Linux
FreeBSD / KDE installation woes...
ForestryJim
Forgive the newbie question. I've been trying to install FreeBSD 5.4 on a new AMD64 based box at work today, and I started running into problems. Maybe some background is appropriate? Here goes... I've finished the first stage of development of a model in C++ which simulates airflow through a...... BSD
1
BSD
snort installation on freebsd issues
xyyz
i'm following the, "How to setup and secure Snort, MySQL and Acid on FreeBSD 4.6 Release" off of the snort.org website. in the documentation it says snort should be installed through the following: ----- make -DWITH_MYSQL -DWITH_FLEXRESP ; make install ----- later it says to do the...... UNIX for Advanced & Expert Users
13
UNIX for Advanced & Expert Users
how do u remove a messed up freebsd boot installation?
coffeecoolers
i messed up while installing freebsd into a dual os wannabe system. Now, how do i del it( so i wouldn't get prompted to choose freebsd during boot?)so that i could try installing a different flavour of linux? cheers:eek:... UNIX for Dummies Questions & Answers
1
UNIX for Dummies Questions & Answers

Featured Tech Videos