Guide on Programming on LInux

This is a discussion on Guide on Programming on LInux within the Linux Programming forums, part of the Platform Specific Boards category; Hey guys i am new to linux programming and i would like to know the different tools on the linux ...

  1. #1
    Registered User
    Join Date
    Nov 2011
    Location
    Douala, Cameroon
    Posts
    187

    Guide on Programming on LInux

    Hey guys i am new to linux programming and i would like to know the different tools on the linux system a great programmer should master to be respected in the hackers community...

    also i have a problem with my linux system when i type the commands

    Code:
    iwlist
    iwconfig
    ifconfig 
    
    i get the result
    
    bash: command not found
    i don't know what is happening or how to resolve this problem.
    any suggestions would greatly appreciated.

  2. #2
    Registered User
    Join Date
    May 2010
    Posts
    2,693
    What version of Linux are you using? Do you have the proper access permissions to run these programs? On most systems they require superuser/root access.

    Jim

  3. #3
    Registered User
    Join Date
    Nov 2011
    Location
    Douala, Cameroon
    Posts
    187
    I am using Scientific Linux a version of redhat well on linux forums they said i should use the su account
    but they however recommended me to use the whereid iwconfig command to locate the file and add the the path to the environment variable
    i have located but the problem is to add to the environment variable on linux which poses a big problem i wish you guys could help me out here.

  4. #4
    Registered User
    Join Date
    May 2010
    Posts
    2,693
    You may want to read this link: Adding a Directory to the path. It might answer most of your questions.

    Jim

  5. #5
    Registered User
    Join Date
    Aug 2003
    Posts
    1,198
    If my memory doesn't betray me completely I seem to recall that on Debian you had to be su to run those commands, at least out of the box. So depending on the distro you are using that might be it.

  6. #6
    Captain Crash brewbuck's Avatar
    Join Date
    Mar 2007
    Location
    Portland, OR
    Posts
    7,235
    You don't have to be root to run the commands (well, you do in order to do certain things with them but you can run them anyway), they just aren't in your path as a normal user. Those commands are found in /sbin or /usr/sbin -- add those directories to your path
    Code:
    //try
    //{
    	if (a) do { f( b); } while(1);
    	else   do { f(!b); } while(1);
    //}

  7. #7
    Registered User
    Join Date
    Nov 2011
    Location
    Douala, Cameroon
    Posts
    187
    yes @brewbuck the iwconfig and ifconfig command were in the usr/sbin/ directory however i have copied the bin files to the usr/bin directory and the commands are working perfectly now... thanks for the help.. Any way my other questions what tools do i need to master on linux to call myself a linux programmer in the Hacker community..

  8. #8
    Registered User
    Join Date
    May 2012
    Posts
    1,066
    Quote Originally Posted by Nyah Check View Post
    Any way my other questions what tools do i need to master on linux to call myself a linux programmer in the Hacker community..
    Ask the hacker community you want to be part of.

    Seriously, I don't think there is one single Linux hacker community. Actually such a community would IMHO contradict one of the main ideas behind Linux (and Unix in general): diversity.

    Since your question is very unspecific, here are just some general links:
    1) "Advanced Linux Programming" by Mark Mitchell, Jeffrey Oldham, and Alex Samuel is rather old now (published 2001 and available for free) but you will still get some keywords out of it to refine your research.
    2) "The Art of Unix Programming" by Eric Raymond is the classical book about the philosophy behind UNIX (also available for free)
    3) In contrast to 2) there is "The UNIX-HATERS Handbook" by Simson Garfinkel, Daniel Weise and Steven Strassmann (again available for free). It's always good to look at the other side of the medal :-)
    4) For specific tools look at the corresponding webpages. Usually there is free documentation available for them.
    5) A quick web search brought up this site which lists many tools divided into categories and also lists many more books.

    Bye, Andreas

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. For beginner: How to start first c++ programming(Guide)
    By evildotaing in forum C++ Programming
    Replies: 1
    Last Post: 05-21-2012, 08:06 AM
  2. Replies: 4
    Last Post: 10-06-2009, 01:11 AM
  3. programming for interactive tv guide
    By newprogrammer27 in forum C Programming
    Replies: 1
    Last Post: 04-05-2007, 08:57 AM
  4. Absolute Beginner's Guide to Programming
    By o0obruceleeo0o in forum C++ Programming
    Replies: 9
    Last Post: 04-01-2003, 02:20 PM
  5. Lawrenceville Press: A guide to programming in c++
    By Unregistered in forum A Brief History of Cprogramming.com
    Replies: 3
    Last Post: 03-25-2002, 09:56 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21