LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-26-2012, 05:05 AM   #16
sysmicuser
Member
 
Registered: Mar 2010
Posts: 458

Original Poster
Rep: Reputation: 0

@corp769

assuming u mean shell interpreter version.
Ours is business org and not eng org so people have a laid back attitude !

I wish to work for a consultancy firm
 
Click here to see the post LQ members have rated as the most helpful post in this thread.
Old 02-26-2012, 05:06 AM   #17
sysmicuser
Member
 
Registered: Mar 2010
Posts: 458

Original Poster
Rep: Reputation: 0
can anyone tell which shell should be used to write script?
korn or bash?
 
Old 02-26-2012, 05:08 AM   #18
corp769
LQ Guru
 
Registered: Apr 2005
Location: /dev/null
Posts: 5,818

Rep: Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007
Honestly, that is up to your personal preference overall, but I recommend using bash. I use zsh for my shell, and bash when it comes to shell scripting.
 
1 members found this post helpful.
Old 02-26-2012, 05:11 AM   #19
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405
Hi,
Quote:
Originally Posted by sysmicuser View Post
can anyone tell which shell should be used to write script?
korn or bash?
On linux systems bash is used most often, but using ksh is possible. I would use bash, but in the end it is up to you.
 
1 members found this post helpful.
Old 02-26-2012, 05:38 AM   #20
sysmicuser
Member
 
Registered: Mar 2010
Posts: 458

Original Poster
Rep: Reputation: 0
Guys can you please versions of each of shell namely bash and korn shell.

Thanks in advance.

Cheers!
 
Old 02-26-2012, 07:35 AM   #21
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405
Hi,
Quote:
Originally Posted by sysmicuser View Post
Guys can you please versions of each of shell namely bash and korn shell.
Shell versions I successfully tried your code with:
Code:
$ bash --version
GNU bash, version 4.1.5(1)-release (x86_64-pc-linux-gnu)

$ ksh --version
  version         sh (AT&T Research) 93s+ 2008-01-31

$ bash --version
GNU bash, version 3.1.17(1)-release (i686-pc-linux-gnu)

$ PD KSH v5.2.14 99/07/13.2
 
1 members found this post helpful.
Old 02-26-2012, 08:02 AM   #22
sysmicuser
Member
 
Registered: Mar 2010
Posts: 458

Original Poster
Rep: Reputation: 0
Many Thanks Guys for your help, it is much appreciated
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Check CPU - Red Hat - how to check if CPU working correctly ? dlugasx Linux - Server 8 07-28-2011 01:58 AM
Check to see if wireless N is working Lucard Linux - Networking 2 03-11-2010 12:00 AM
How can I check bluetooth is working? Simmo512 Slackware 8 01-30-2008 06:35 AM
How to check if iptables is working borrrden Linux - Security 10 09-20-2004 08:55 PM
How to check if ACPI working ar1 Linux - Laptop and Netbook 0 08-05-2004 02:32 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:31 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration