The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Advanced & Expert Users
.
google unix.com



UNIX for Advanced & Expert Users Expert-to-Expert. Learn advanced UNIX, UNIX commands, Linux, Operating Systems, System Administration, Programming, Shell, Shell Scripts, Solaris, Linux, HP-UX, AIX, OS X, BSD.

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

View Poll Results: What's your most useful shell?
/bin/sh 61 8.62%
/bin/csh 34 4.80%
/bin/ksh 295 41.67%
/bin/tcsh 33 4.66%
/bin/bash 285 40.25%
Voters: 708. You may not vote on this poll

Reply
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rating: Thread Rating: 6 votes, 4.33 average. Display Modes
  #50 (permalink)  
Old 08-24-2006
BOFH BOFH is offline Forum Advisor  
Registered User
  
 

Join Date: Feb 2005
Location: Broomfield, CO
Posts: 406
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
  #51 (permalink)  
Old 02-20-2007
vermaden's Avatar
vermaden vermaden is offline
Registered User
  
 

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 07:35 PM..
  #52 (permalink)  
Old 02-22-2007
duke0001 duke0001 is offline
Registered User
  
 

Join Date: Nov 2005
Posts: 131
root /sbin/sh, application user /bin/ksh
  #53 (permalink)  
Old 03-02-2007
cfajohnson's Avatar
cfajohnson cfajohnson is offline Forum Advisor  
Shell programmer, author
  
 

Join Date: Mar 2007
Location: Toronto, Canada
Posts: 2,361
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.
  #54 (permalink)  
Old 03-03-2007
varungupta varungupta is offline
Registered User
  
 

Join Date: Feb 2007
Location: Pune, Dehradun (INDIA), Michigan(US)
Posts: 206
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.
  #55 (permalink)  
Old 03-08-2007
ghostdog74 ghostdog74 is offline Forum Advisor  
Registered User
  
 

Join Date: Sep 2006
Posts: 2,508
the Python shell.
  #56 (permalink)  
Old 03-08-2007
andryk's Avatar
andryk andryk is offline Forum Advisor  
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
Sponsored Links
Reply

Bookmarks

Tags
bash, ksh, linux commands, shell, shell script, shell scripting, unix commands, unix scripting, unix scripting basics

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 07:06 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0