Find the answer to your Linux question:
Results 1 to 7 of 7
I had a call about an Oracle DBA position, but they want me to know a little Unix scripting. I have used Linux here at home, and learned Linux and ...
  1. #1
    Just Joined!
    Join Date
    Jul 2007
    Posts
    61

    New to scripting

    I had a call about an Oracle DBA position, but they want me to know a little Unix scripting. I have used Linux here at home, and learned Linux and Unix at college so I know a little commands, but what else is required to know to do scripting?

  2. #2
    Linux Engineer khafa's Avatar
    Join Date
    Apr 2008
    Location
    Tokyo, Japan
    Posts
    858
    you have shell scripting and other scripting languages like Perl etc.
    i think that what they want to you to study is shell scripting.
    shell scripting depends on the shell you use. imho the most used one is Bourne (Again) Shell.
    check this out
    Linux and me it's a love story

  3. #3
    Trusted Penguin Cabhan's Avatar
    Join Date
    Jan 2005
    Location
    Seattle, WA, USA
    Posts
    3,230
    Right. The most popular shell in the *nix world is currently Bash. There are many guides out there, but the two I see most often are:

    http://tldp.org/LDP/Bash-Beginners-Guide/html/
    http://tldp.org/LDP/abs/html/

    I've never used the first, but I use the second as a reference for EVERYTHING. It is quite amazing.


    As a bit of side interest, there are three shells that are Bash-like in their scripting: sh (Bourne Shell), bash (Bourne Again Shell), and zsh. There is also a strand of shells, not as popular, which use a completely different style of scripting (very C-like): these are called the C Shell (not surprisingly). csh was the first, now I believe the one is tcsh. These are not nearly as popular, and it's unlikely that your job would require you to know them, but it's interesting to know about what's out there.
    DISTRO=Arch
    Registered Linux User #388732

  4. #4
    Linux Engineer Thrillhouse's Avatar
    Join Date
    Jun 2006
    Location
    Arlington, VA, USA
    Posts
    1,377
    If the database is hosted on a UNIX machine, there's a good chance that it is using the korn shell (ksh) by default. IBM AIX, one of the most popular brands of UNIX in industry, and other vendor UNIX's use ksh by default. In fact, our AIX machines don't even have bash installed on them.

  5. #5
    Just Joined!
    Join Date
    Jul 2007
    Posts
    61
    Great thanks for the help, I guess I will look over both korn shell and bash shell. I are preparing for a test that I may not even have to take. But better to be prepared. If no test then I will need it for the job when/if I get it. If I get the job I wil lbe moving to Nashville, TN USA. It's about 2.5 hours north west of my current home. I would have to sell my house or rent it out not long after moving up there. But I will be getting a 50% raise which is good.

  6. #6
    scm
    scm is offline
    Linux Engineer
    Join Date
    Feb 2005
    Posts
    1,044
    I agree with Thrillhouse - bash isn't usually shipped on commercial UNIX systems, ksh is the shell of choice. And also be aware that many commercial versions of ksh are pretty backward - HP-UX's is almost an antique!

  7. #7
    Just Joined!
    Join Date
    Jul 2007
    Posts
    61
    Are there alot of difference between these? So does most people think I should learn the KSH(Korn Shell, I think it what it's called) and the BSH(Bash Shell)? Links to a good KSH Shell scripting tutorial please.

    Thanks for all the help.

    What any links to any other tutorials that I need to know to admin a Unix/linux machine(or what I need to know to be a DBA on Unix/Linux)? I have Ubuntu installed but RedHat(Fedora) is the most common. How much are these alike? I used redHat in college.

Posting Permissions

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