The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Advanced & Expert Users
Google UNIX.COM


UNIX for Advanced & Expert Users Advanced UNIX and Linux questions go here. Expert-to-Expert.

View Poll Results: What's your most useful shell?
/bin/sh 53 9.01%
/bin/csh 31 5.27%
/bin/ksh 247 42.01%
/bin/tcsh 31 5.27%
/bin/bash 226 38.44%
Voters: 588. You may not vote on this poll

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Linux Shell Question: how to print the shell script name ? meili100 UNIX for Dummies Questions & Answers 3 07-01-2008 10:55 AM
How to Start a Shell as Login shell instead of ordinary shell Sivaswami Linux 3 07-01-2008 10:52 AM
Difference between writing Unix Shell script and AIX Shell Scripts haroonec AIX 0 04-11-2006 11:27 PM
how to convert from korn shell to normal shell with this code? forevercalz Shell Programming and Scripting 21 11-22-2005 10:18 PM
simple shell - how to get a parameter typed in a shell script cmitulescu Shell Programming and Scripting 3 12-05-2001 11:04 AM

Reply
 
Submit Tools LinkBack Thread Tools Display Modes
  #50 (permalink)  
Old 08-24-2006
Registered User
 

Join Date: Feb 2005
Location: Broomfield, CO
Posts: 395
Quote:
Originally Posted by Corona688
bash. It lets you group things in useful ways some don't realize. You can redirect the output of not just individual programs, but entire loops.

Code:
for ((N=0; N<10; N++))
do
    echo "This is line ${N}"
done > lines.txt
Funny, I can do that in ksh too and do it on Solaris, Linux, HP-UX and AIX (my current work environment).

Carl
Reply With Quote
Forum Sponsor
  #51 (permalink)  
Old 02-20-2007
vermaden's Avatar
Banned
 

Join Date: Nov 2006
Posts: 20
ZSH of course.

for scripts: /bin/sh
for root account: /bin/tcsh

Last edited by vermaden; 04-23-2007 at 04:35 PM.
Reply With Quote
  #52 (permalink)  
Old 02-22-2007
Registered User
 

Join Date: Nov 2005
Posts: 127
root /sbin/sh, application user /bin/ksh
Reply With Quote
  #53 (permalink)  
Old 03-01-2007
cfajohnson's Avatar
Registered User
 

Join Date: Mar 2007
Location: Toronto, Canada
Posts: 687
Whenever possible, I write POSIX-compliant scripts which will run in bash, ksh, ash, and any POSIX shell.

For interactive use, and when I need some non-standard features, I use bash.
Reply With Quote
  #54 (permalink)  
Old 03-02-2007
Registered User
 

Join Date: Feb 2007
Location: Pune, Dehradun (INDIA), Michigan(US)
Posts: 187
bash and csh !

I do use bash and someimes csh too.
bash was one of the old shells and hence used for most progs.
csh gives flexibility to prog. concepts.
Reply With Quote
  #55 (permalink)  
Old 03-08-2007
Registered User
 

Join Date: Sep 2006
Posts: 1,543
the Python shell.
Reply With Quote
  #56 (permalink)  
Old 03-08-2007
andryk's Avatar
Registered User
 

Join Date: Sep 2003
Posts: 448
Well bash on linux, and ksh on *nix for its vi-style cmd-line history which i find quite useful
Reply With Quote
Google The UNIX and Linux Forums
Reply

Tags
bash, ksh, shell

Thread Tools
Display Modes




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


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008. All Rights Reserved.Ad Management by RedTyger Visit The Global Fact Book

Content Relevant URLs by vBSEO 3.2.0