LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-28-2009, 12:51 PM   #1
V4HID
LQ Newbie
 
Registered: Sep 2009
Posts: 5

Rep: Reputation: 0
Unhappy 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.
 
Old 09-28-2009, 02:07 PM   #2
j_jerry
Member
 
Registered: Sep 2009
Distribution: fedora 11
Posts: 318

Rep: Reputation: 46
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
 
Old 09-28-2009, 02:25 PM   #3
alan_ri
Senior Member
 
Registered: Dec 2007
Location: Croatia
Distribution: Debian GNU/Linux
Posts: 1,733
Blog Entries: 5

Rep: Reputation: 127Reputation: 127
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.

Last edited by alan_ri; 09-28-2009 at 02:27 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
why does the command "startx" fail in SLAX billexists Linux - Newbie 5 10-07-2007 01:42 PM
Slax 5.1.8 - How to change keyboard layout at command line uncle-c Slackware 2 11-09-2006 04:32 AM
grub commands for slax /slax frodo Paridoth Linux - General 2 07-15-2006 11:05 PM
df command output, doesn't add up? jrfk2 Linux - Newbie 5 07-13-2006 07:16 AM
add some command when booting blackzone Linux - General 4 08-30-2004 10:25 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:51 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration