/bin/config: line 6: use: command not found #595

Closed
opened 2025-12-29 01:27:38 +01:00 by adam · 1 comment
Owner

Originally created by @PatricDahl on GitHub (Feb 21, 2023).

Hi,

I'm receiving an error message when executing dehydrated command.

./dehydrated -f config -c --force --force-validation
INFO: Using main config file config
/bin/config: line 6: use: command not found

./dehydrated -v
INFO: Using main config file /shared/dehydrated/config
Dehydrated by Lukas Schauer
https://dehydrated.io

Dehydrated version: 0.7.2
GIT-Revision: unknown

OS: CentOS Linux 7 (Core)
Used software:
bash: 4.2.46(2)-release
curl: 7.47.1
awk: GNU Awk 4.0.2
sed: sed (GNU sed) 4.2.2
mktemp: mktemp (GNU coreutils) 8.22
grep: grep (GNU grep) 2.20
diff: diff (GNU diffutils) 3.3
openssl: OpenSSL 1.0.2s-fips 28 May 2019

Originally created by @PatricDahl on GitHub (Feb 21, 2023). Hi, I'm receiving an error message when executing dehydrated command. ./dehydrated -f config -c --force --force-validation INFO: Using main config file config /bin/config: line 6: use: command not found ./dehydrated -v INFO: Using main config file /shared/dehydrated/config Dehydrated by Lukas Schauer https://dehydrated.io Dehydrated version: 0.7.2 GIT-Revision: unknown OS: CentOS Linux 7 (Core) Used software: bash: 4.2.46(2)-release curl: 7.47.1 awk: GNU Awk 4.0.2 sed: sed (GNU sed) 4.2.2 mktemp: mktemp (GNU coreutils) 8.22 grep: grep (GNU grep) 2.20 diff: diff (GNU diffutils) 3.3 openssl: OpenSSL 1.0.2s-fips 28 May 2019
adam closed this issue 2025-12-29 01:27:38 +01:00
Author
Owner

@lukas2511 commented on GitHub (Feb 22, 2023):

Looks like you are currently in your /bin directory and specifying config as config file, which probably also is a binary in that directory. No idea what you were expecting to happen here.

@lukas2511 commented on GitHub (Feb 22, 2023): Looks like you are currently in your `/bin` directory and specifying `config` as config file, which probably also is a binary in that directory. No idea what you were expecting to happen here.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/dehydrated#595