Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Non-*NIX Forums > Programming
User Name
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.


  Search this Thread
Old 03-15-2007, 06:15 AM   #1
LQ Newbie
Registered: Mar 2007
Location: New Delhi, India
Distribution: Fedora Core 6
Posts: 9

Rep: Reputation: 0
writing your own command in unix/linux


I am very new to Linux programming,otherwise I have exposure to Linux. Was thinking about something like writing my own commands for Linux. Any ideas where to start, any useful links and what I need to know before I start with this.

Old 03-15-2007, 07:19 AM   #2
Senior Member
Registered: Nov 2003
Location: London, England
Distribution: Ubuntu
Posts: 1,460

Rep: Reputation: 47
Look up shell scripts - probably the easiest way to start
Old 03-15-2007, 07:42 AM   #3
LQ Newbie
Registered: Mar 2007
Location: New Delhi, India
Distribution: Fedora Core 6
Posts: 9

Original Poster
Rep: Reputation: 0
ok with shell scripting

m familier with shell scripting and have done also...

Old 03-15-2007, 12:10 PM   #4
LQ Newbie
Registered: Jan 2007
Posts: 17

Rep: Reputation: 0
All you need to do is put your program in one of the
directories listed in the PATH variable, issue the command:

echo $PATH

and you will get an ; seperated list of the directories in
your PATH, put the program in one of these directories.
Old 03-15-2007, 12:52 PM   #5
Registered: Feb 2007
Location: UK
Distribution: Slamd 64, Slackware
Posts: 46

Rep: Reputation: 16
Haven't looked at these very closely, so can't say how useful they are, seem like a decent enough place to start though:


commands, programming

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
Linux/Unix Command to find RAM size? ssnkumar Linux - General 9 09-09-2009 10:38 AM
Unix vs. Linux shell command Chong Programming 10 01-12-2007 09:41 AM
[c] Unix writing saiz66 Programming 4 10-13-2004 03:30 AM
unix command to linux command leonidas Linux - General 1 09-10-2004 01:40 AM
Linux equivalent of Unix command lptops? tdp05 Linux - General 2 09-12-2003 07:45 PM > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 02:00 AM.

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