Jump to content

Linux coding

- - - - -

This topic has been archived. This means that you cannot reply to this topic.
23 replies to this topic

#1
ahmed

ahmed

    Programming Professional

  • Members
  • PipPipPipPipPip
  • 304 posts
I wanted to know that from where can I learn to code for linux , i don't know much about linux but i can code in C/C++ and Java .What scripting languages are used for it?and why :pinguin:

#2
WingedPanther

WingedPanther

    A spammer's worst nightmare

  • Moderators
  • 16,831 posts
You can already code for Linux if you know C, C++, or Java.

In addition, Python, Perl, Bash, and several other languages are common.
Programming is a branch of mathematics.
My CodeCall Blog | My Personal Blog

#3
ahmed

ahmed

    Programming Professional

  • Members
  • PipPipPipPipPip
  • 304 posts
yes but what's the common start?I mean the scripting you do to modify linux?

#4
MeTh0Dz

MeTh0Dz

    Writes binary right handed and hex left handed

  • Members
  • PipPipPipPipPipPipPipPipPip
  • 2,119 posts

ahmed said:

yes but what's the common start?I mean the scripting you do to modify linux?

If by modifying linux you mean kernel hacking. Then you have more reading than anything in front of you.

#5
semprance

semprance

    Programmer

  • Members
  • PipPipPipPip
  • 126 posts
If you're using Ubuntu or something, probably Bash Scripting. Otherwise, it'll probably be Bourne or Korn or something. Check what Shell your linux version is using.

#6
MeTh0Dz

MeTh0Dz

    Writes binary right handed and hex left handed

  • Members
  • PipPipPipPipPipPipPipPipPip
  • 2,119 posts

semprance said:

If you're using Ubuntu or something, probably Bash Scripting. Otherwise, it'll probably be Bourne or Korn or something. Check what Shell your linux version is using.

No lol. Why do you assume that Ubuntu would use Bash and all other distro's would use Bourne or Korn. This is a silly generalization with no real basis in reality.

#7
semprance

semprance

    Programmer

  • Members
  • PipPipPipPip
  • 126 posts
Bash, Korn and Bourne = Most common shells.

And last five Ubuntu distros I used ALL used Bash.

Perfect logic thanks.

EDIT: To quote the Ubuntu site - "Bash is the language that you will learn to love as much of everyday Ubuntu life is done/can be done using the Terminal." - Source

#8
MeTh0Dz

MeTh0Dz

    Writes binary right handed and hex left handed

  • Members
  • PipPipPipPipPipPipPipPipPip
  • 2,119 posts

semprance said:

Bash, Korn and Bourne = Most common shells.

And last five Ubuntu distros I used ALL used Bash.

Perfect logic thanks.

EDIT: To quote the Ubuntu site - "Bash is the language that you will learn to love as much of everyday Ubuntu life is done/can be done using the Terminal." - Source

The fallacy of your logic is just assuming other distro's wouldn't use Bash. Can you grasp that?

#9
ahmed

ahmed

    Programming Professional

  • Members
  • PipPipPipPipPip
  • 304 posts
thanks for the replies guys waiting for more :) . I need some info on bash scripting too , explain it little in your own words , i know i can find it on google but still :D

Edited by ahmed, 12 April 2010 - 09:41 PM.


#10
semprance

semprance

    Programmer

  • Members
  • PipPipPipPip
  • 126 posts

Quote

If you're using Ubuntu or something, probably Bash Scripting.
If you're going to try and fault the logic of my posts please read them properly first. I was talking about Ubuntu, which does use the Bash shell - as default - in all recent distributions. So where exactly is the fallacy in my logic?

It seems like you're just trolling for no reason, and I'm finding it hard to understand why.

ahmed: No problem, I hope this unecessary disagreement has helped you.

Quote

The default shell for most Linux distributions, including Fedora, is the GNU bash or Bourne Again SHell

...from the Fedora Site. I guess the guys who write one of the distros are wrong too...

#11
ahmed

ahmed

    Programming Professional

  • Members
  • PipPipPipPipPip
  • 304 posts
lol but i still don't get it why you people are fighting on a shell :/ , anyways back to my question hope you reply now :)

#12
semprance

semprance

    Programmer

  • Members
  • PipPipPipPip
  • 126 posts
Sorry mate, check out the link I gave labelled Bash Scripting - it's more of a tutorial than a rundown of features or applications but it has some useful info.

What is it exactly you're trying to accomplish through the scripts you want to write?