Find the answer to your Linux question:
Page 1 of 3 1 2 3 LastLast
Results 1 to 10 of 21
Hi everyone. I have been programming now for 2 days in college using shell script. I am nearly certain that is used in the linux operating system? would I be ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Sep 2012
    Posts
    16

    Cool I want to start writing in shell script but dont know what to download


    Hi everyone. I have been programming now for 2 days in college using shell script. I am nearly certain that is used in the linux operating system? would I be correct about that? anyway, what i want to do is practise writing in shell script at home to improve my skills and because i enjoy it. im using windows 7 so am i supposed to download linux in order for me to be even half way able to start programming? if so please explain how and then do i download something that looks like command prompt. sorry for being vague .. its hard to explain when i dont know what i will be doing. here is an example of what i was programming in college.
    #!\bin\bash
    #program to read in two numbers and add them together
    #
    echo " enter your first number "
    read a
    echo " enter your second number "
    read b
    echo " $a + $b = $c "
    #end

    THANKS TO ANYONE WHO HELPS.

  2. #2
    Administrator MikeTbob's Avatar
    Join Date
    Apr 2006
    Location
    Texas
    Posts
    7,864
    Hello and Welcome.
    I moved the thread here, it will get better exposure to the people you want.
    I do not respond to private messages asking for Linux help, Please keep it on the forums only.
    All new users please read this.** Forum FAQS. ** Adopt an unanswered post.

    I'd rather be lost at the lake than found at home.

  3. #3
    Just Joined!
    Join Date
    Sep 2012
    Posts
    16
    Quote Originally Posted by MikeTbob View Post
    Hello and Welcome.
    I moved the thread here, it will get better exposure to the people you want.
    thanks man much appreciated

  4. #4
    Linux Engineer hazel's Avatar
    Join Date
    May 2004
    Location
    Harrow, UK
    Posts
    1,211
    There's something called Cygwin that you can install in Windows and it gives you a Linux-like interface.
    "I'm just a little old lady; don't try to dazzle me with jargon!"
    www.hrussman.entadsl.com

  5. #5
    Linux Newbie arespi's Avatar
    Join Date
    May 2011
    Location
    Monterrey , Mexico
    Posts
    143
    Hi

    Well , if you want to use linux you can have it in many different ways. You have a computer with windows 7, you could:
    a) Use a live CD, many linux distributions ("brands" of linux) are available as a CD you can download, If you boot your computer with a live CD, it will start as a full linux environment without touching any of the contents of your hard drive, so once you are done , reboot your computer and you will be back into windows.
    b) Install Linux in your computer, Most of these live CDs you can try, at boot , have the options of "running" linux and "installing" linux. If you select install linux, the linux will be copied or "installed" to your hard disk. During the install process you can choose from giving all the disk to linux, part windows part linux, etc. It somewhat complicated for a begginer, if you choose this option you can get more info about it.
    c) Something in between is to use a virtual machine, you will need to install some software to manage these virtual machines (vmware's vmplayer is free and works fine with linux). Its a safer environment to play with linux as if you mess up something you can revert to a previous state or erase the full virtual machine and start over again.

    Once you get linux running in either way, you can open a terminal emulator and start coding away ...

    Good luck

  6. #6
    Just Joined!
    Join Date
    Sep 2012
    Posts
    16
    Quote Originally Posted by arespi View Post
    Hi

    Well , if you want to use linux you can have it in many different ways. You have a computer with windows 7, you could:
    a) Use a live CD, many linux distributions ("brands" of linux) are available as a CD you can download, If you boot your computer with a live CD, it will start as a full linux environment without touching any of the contents of your hard drive, so once you are done , reboot your computer and you will be back into windows.
    b) Install Linux in your computer, Most of these live CDs you can try, at boot , have the options of "running" linux and "installing" linux. If you select install linux, the linux will be copied or "installed" to your hard disk. During the install process you can choose from giving all the disk to linux, part windows part linux, etc. It somewhat complicated for a begginer, if you choose this option you can get more info about it.
    c) Something in between is to use a virtual machine, you will need to install some software to manage these virtual machines (vmware's vmplayer is free and works fine with linux). Its a safer environment to play with linux as if you mess up something you can revert to a previous state or erase the full virtual machine and start over again.

    Once you get linux running in either way, you can open a terminal emulator and start coding away ...

    Good luck
    wow thanks everybody i can now make a start and improve my skills. cheers to you all

  7. #7
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,729
    Hi and Welcome !!

    I would suggest you install Linux in your machine. You will get an exposure of Linux OS too. Linux installation is really easy. Windows OS will remain as it is and you will have option to boot either Linux or Windows OS at startup.
    Do let us know if you plan to install Linux. We will post all installation steps here and you won't face any problem.
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

  8. #8
    Just Joined!
    Join Date
    Sep 2012
    Posts
    16
    hi yes i would like to install linux as i have tried downloading oracle virtual machine and i got the error message " fatal could not read boot message" or something like that so i think i will try installing linux. if you be so kind as to provide me with those steps i would be very gracious as i have no knowledge whatsoever. thank you

  9. #9
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,729
    Post your Machine's specs here.
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

  10. #10
    Just Joined!
    Join Date
    Sep 2012
    Posts
    16
    ok
    windows 7 home premium
    manufacturer: acer
    model: Aspire 5733
    processor: Intel(R) Core(TM) i3 CPU M 370 @ 2.40GHz 2.40GHz
    installed memory(RAM): 6.00 GB (5.68 GB usable)
    system type: 64 bit operating system

    IS THIS WHAT YOU ARE LOOKING FOR YES?

Page 1 of 3 1 2 3 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
  •