LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   I want add new command to my slax! (https://www.linuxquestions.org/questions/linux-newbie-8/i-want-add-new-command-to-my-slax-758279/)

V4HID 09-28-2009 12:51 PM

I want add new command to my slax!
 
Hello
I have slax dictro in HDD, and want use from "doc2unix" command, but this command isn't in my linux!
How can i add this command to linux?
thank you.

j_jerry 09-28-2009 02:07 PM

What's 'doc2unix' ? Is it written by you? if so you need to manually add it so that it can be invoked from the console

see your thread in slax forum, there's a good explanation

alan_ri 09-28-2009 02:25 PM

Welcome to LQ!

For start create /home/you/bin directory, then add/copy "doc2unix" executable to it.
Then add /home/you/bin to the PATH by editing .bashrc file in your /home directory and adding export PATH=$PATH:/home/you/bin: line to it.

That's for start. Search, learn. For start go here.

All of this if "doc2unix" is not already there. I don't use Slax.

Use
Code:

whereis doc2unix
to see if it's in the PATH.

Use
Code:

env | grep PATH
to see directories being used for executables.


All times are GMT -5. The time now is 10:39 AM.