Dear all, I'm wondering on how i can install and run SFK on fedora 14, I tried to download .zip file and unzip it, but nothing happens.
I want to use this command to print colored text in any script, Do any one have any ideas on how i can print some lines in color and others in another color.
Appreciate if anyone can help.
I have downloaded sfk163-linux-exe and changed its name to sfk and moved it to /usr/bin/
Now when i execute sfk echo "Hello", it prints Hello in its default color which is Black, why is it not working and apply the change?
Color output is switched off under linux by default because SFK cannot identify if your terminal has a black or white background. So if the SFK help output simply starts printing white text on a white background it would be unreadable.
You have to tell SFK how your terminal looks like.
On a white background terminal, type
On a black background terminal, type
and then retry your sfk echo. Type "sfk help color" for details.
And to use SFK after downloading the .zip file, first run
cp uxbin/sfk-linux.exe ./sfk
chmod +x ./sfk
to prepare the sfk binary for use under linux.
Thanks a lot stahlworks, I have exported the variable SFK_COLORS, and it worked fine
Appreciate your help.
Log in to post a comment.