Find the answer to your Linux question:
Page 1 of 2 1 2 LastLast
Results 1 to 10 of 12
What i want: Code in linux, from the core to the last edge of applications, also some hardware programming. i will be using LFS dist. what language is mostly used ...
  1. #1
    Just Joined! degus's Avatar
    Join Date
    Dec 2007
    Posts
    10

    I want to learn to code, what language?

    What i want: Code in linux, from the core to the last edge of applications, also some hardware programming.

    i will be using LFS dist.

    what language is mostly used by linux?

    I want to know diffrent languages and their positive and negative arguments.

    Is C still a bit part of Linux?

    I have tryed C++, Python, C# (all in windows..) by tryed i mean(read 1 book of each and done the examples).

    I just dont want to jump on a language and hardlearning it and after a year notice that it dosent got what i need.., Iam ready tho to complete with other languages when ready for it.

    Design my life..

  2. #2
    Linux Guru techieMoe's Avatar
    Join Date
    Aug 2004
    Location
    Texas
    Posts
    9,496
    Quote Originally Posted by degus View Post
    i will be using LFS dist.

    what language is mostly used by linux?
    Probably C, since the base system, kernel, and utilities like ls, less, rm, and man are all written in it.

    I want to know diffrent languages and their positive and negative arguments.

    Is C still a bit part och the Linux?
    Not sure by you mean by "part och the Linux," but C is still very much used in Linux, and I don't see that changing any time soon.


    I just dont want to jump on a language and hardlearning it and after a year notice that it dosent got what i need.., Iam ready tho to complete with other languages when ready for it.

    Design my life..
    C has lasted this long and I don't think it will go anywhere for a good long while. C++ is also widely used in both the Linux and MS Windows realms. However much like asking which distribution is better, you'll likely get a dozen different opinions about that.
    Registered Linux user #270181
    TechieMoe's Tech Rants

  3. #3
    Just Joined! degus's Avatar
    Join Date
    Dec 2007
    Posts
    10
    techieMoe:
    So your opinion is that C would be the best language to learn and later on complete my skills with C++?

  4. #4
    Linux Guru techieMoe's Avatar
    Join Date
    Aug 2004
    Location
    Texas
    Posts
    9,496
    Quote Originally Posted by degus View Post
    techieMoe:
    So your opinion is that C would be the best language to learn and later on complete my skills with C++?
    Well, no. You asked what language I think is most used in Linux. I answered C, and to a lesser extent C++. What language is "best" is up to personal opinion and depends entirely on what kind of software you want to create.

    That being said, you certainly wouldn't be wasting your time with a solid C/C++ base, even if you decided to change languages or pick up a second or third one down the road.
    Registered Linux user #270181
    TechieMoe's Tech Rants

  5. #5
    Linux User Agent-X's Avatar
    Join Date
    May 2005
    Location
    Dimension X
    Posts
    261
    I'd have to say C and python are used the most. C++ fits in there somewhere. Of course, if you don't know shell scripting, then you might want to go ahead and learn that. Awk, sed, shell scripting, or PERL: Learn these.

    I've seen C and python do an incredible amount of things when teamed. Combined with PERL, they do pretty good.

  6. #6
    Just Joined! degus's Avatar
    Join Date
    Dec 2007
    Posts
    10
    hmm...

    Is there a C guide out in the World of digits?
    that covers C from beginner to extreamly advanced.

    Also a guide for C++ from beginner to Extreamly advanced.?


    Python no need for guides.. got 5 books ;P

  7. #7
    Just Joined! nistleloy's Avatar
    Join Date
    Dec 2007
    Posts
    4
    Hi degus,

    1. Learn C. This is an excellent language for Linux

    2. Learn Shell scripting. For Linux shell scripting is vital when manipulating and editing files. This basically includes grep, sed and awk.

    To learn C off your own back then there is always the "C" for Dummies books and the type of books that are called Learn C in 24hrs. I don't know if they are useful but maybe as a starting point you could try them.

    There is also plenty of shell scripting learning sites to visit that go through the basics and can lead in to more advance areas of scripting.

    Linux Shell Scripting Tutorial - A Beginner's handbook

    is good for a start. Just google around. Also there is this forum that can provide answers to scripting problems.

    If you want I have some good beginners guides to shell scripting that can be useful. This takes you through awk, grep and sed. Aslo if statements, case statements, for loops and while loops are covered. A little more advanced from that is then functions and arrays etc


    What languages, if any, do you know?

    When you have read these books on C++ and Python have you learned from these and put it into practice and been able to use the code independently from the examples?

    Good luck dude hope you work it all out

    nistleloy

  8. #8
    Just Joined! degus's Avatar
    Join Date
    Dec 2007
    Posts
    10
    If you want I have some good beginners guides to shell scripting that can be useful. This takes you through awk, grep and sed. Aslo if statements, case statements, for loops and while loops are covered. A little more advanced from that is then functions and arrays etc
    yeah would be helpfull ;P

    When you have read these books on C++ and Python have you learned from these and put it into practice and been able to use the code independently from the examples?
    yes, in my younger days my friend and i had this dream to create our own MUD, we wanted to base it on smaug and recode most of it to get it our way.. somewhere everything just died out.. but c++ was like omg.. around 7-10 years ago.. dont remember much..
    Python was 1-2 years ago.. probobly forgot most of the stuff..

    reason i stopped with c++ (think it was pointers.. didnt get a grip on them probobly a bad book)

    python halt: well my wife gave birth to my second child.. so coding stopped..

    iam somehow able to read most of a c/c++ code part and able to understand what it does..
    Last edited by techieMoe; 12-12-2007 at 06:27 PM. Reason: Fixed quote tags

  9. #9
    Linux Guru coopstah13's Avatar
    Join Date
    Nov 2007
    Location
    NH, USA
    Posts
    3,149
    Depends on what kind of things you are coding, the closer you get to the hardware the more low level language you wanna use.

    Hardware: assembly, C
    OS: C, maybe C++ (unlikely)
    Regular Applications: C++, Java

    When i say OS, i mean coding for operating system level functionality, like the linux commands, etc, shells, terminals, those kinds of things.

    Scripting languages fit somewhere in between OS and Regular applications imo, good to use them with an application

  10. #10
    Just Joined! nistleloy's Avatar
    Join Date
    Dec 2007
    Posts
    4
    hi degus.

    If you want them shell script tutorials pm me. They are all very much example based but with some good explanations. I have some questions/ tasks that go with them that allow you to test and expand on the tutorials.

    Sorry if this seems a little out of place but...

    How much Linux experience do you have - ie can you navigate around a UNIX system from the command prompt / make directories etc and do you know many UNIX commands?

    ie do you know what chmod does
    or recognise the command ps -eaf

    If not then a brief explanation might be needed.

Page 1 of 2 1 2 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...