9 lines
226 B
Bash
Executable File
9 lines
226 B
Bash
Executable File
#!/bin/bash
|
|
|
|
for file in /usr/local/hestia/bin/*; do
|
|
echo "$file" >> ~/hestia_cli_help.txt
|
|
[ -f "$file" ] && [ -x "$file" ] && "$file" >> ~/hestia_cli_help.txt
|
|
done
|
|
|
|
sed -i 's\/usr/local/hestia/bin/\\' ~/hestia_cli_help.txt
|