LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
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.

Notices



Reply
 
Search this Thread
Old 03-15-2007, 06:15 AM   #1
amardeep.sidhu
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


Hi

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.

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

Rep: Reputation: 46
Look up shell scripts - probably the easiest way to start
 
Old 03-15-2007, 07:42 AM   #3
amardeep.sidhu
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...

Thanks
Sidhu
 
Old 03-15-2007, 12:10 PM   #4
wee-face
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
iamnothere
Member
 
Registered: Feb 2007
Location: UK
Distribution: Slamd 64, Slackware
Posts: 46

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

http://www.learn-programming.za.net/...c_learn01.html

http://heather.cs.ucdavis.edu/~matloff/unix.html

http://stommel.tamu.edu/~baum/programming.html

http://crasseux.com/books/

http://www.codepedia.com/1/C-Programming-Tutorial
 
  


Reply

Tags
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


All times are GMT -5. The time now is 08:56 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration