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 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 02:55 PM
How to Start a Shell as Login shell instead of ordinary shell Sivaswami Linux 3 07-01-2008 02:52 PM
Difference between writing Unix Shell script and AIX Shell Scripts haroonec AIX 0 04-12-2006 03: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.58%
/bin/csh 34 4.78%
/bin/ksh 295 41.49%
/bin/tcsh 33 4.64%
/bin/bash 288 40.51%
Voters: 711. You may not vote on this poll

Reply
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rating: Thread Rating: 6 votes, 4.33 average. Display Modes
  #1 (permalink)  
Old 08-17-2005
Tlogine Tlogine is offline
Registered User
  
 

Join Date: Aug 2005
Posts: 16
Hi Bakunin,

I am using csh and tcsh too. Could you please tell me that how ksh for vi command line edit mode is reliable, stable job control and is great programming language.

Thank you.
  #2 (permalink)  
Old 08-17-2005
karine karine is offline
Registered User
  
 

Join Date: Nov 2004
Location: Israel
Posts: 15
only bash

and sometimes tcsh
  #3 (permalink)  
Old 08-24-2005
bakunin bakunin is offline Forum Staff  
Bughunter Extraordinaire
  
 

Join Date: May 2005
Location: In the leftmost byte of /dev/kmem
Posts: 1,641
Quote:
Originally Posted by Tlogine
Hi Bakunin,

I am using csh and tcsh too. Could you please tell me that how ksh for vi command line edit mode is reliable, stable job control and is great programming language.

Thank you.
Hi TLogine,

I said, *my* reasons for preferring the Korn shell are:

1) a stable job control: it is reliable (and predictable) to create, handle and remove daughter processes (unlike in csh, IMHO), there is a coprocess facility (which the csh lacks);

2) a grat programming language: Korn shell has a very good, versatile and elegant programming (script) language built in, which I find in every respect better than the csh scripting language.

3) the vi cmdline editing mode: in Korn shell it is possible to switch to a vi-like way of dealing with the command history and repeat/modify commands. I like this behaviour much better than the (again: IMHO) rather clumsy "!" and "!!", ... the csh features.

If you feel better with the csh (or any other shell): great, I have no problems with that. Still, I would like to point out, that I would greatly appreciate you having equally no problems with *my* decision about *my* working environments. Thanks.

bakunin
  #4 (permalink)  
Old 08-26-2005
Tlogine Tlogine is offline
Registered User
  
 

Join Date: Aug 2005
Posts: 16
Hi Bakunin,

Thanks for your reply. I just asked that questions for knowledge sharing only not for argument!
Please share your technical knowledge with us!

Thank you.
  #5 (permalink)  
Old 09-21-2005
vertigo23's Avatar
vertigo23 vertigo23 is offline
Registered User
  
 

Join Date: Jul 2005
Location: SF, CA
Posts: 73
Funny, I use bash for almost exactly the same reasons a lot of people here use ksh. I like being able to quickly switch between emacs and vi-style modes (I use emacs for everyday stuff and vi for editing big multiline stuctures). Bash also has some really nice expansion features like being able to say "mkdir directory{0..9}" and create ten directories.

I'm sure all of what I'm describing can also be done easily with ksh as well -- it's just a matter of what syntax I'm comfy with.
  #6 (permalink)  
Old 08-19-2008
techlinux techlinux is offline
Registered User
  
 

Join Date: Jul 2008
Posts: 86
Bash gets it done
  #7 (permalink)  
Old 09-28-2008
tushar_tus tushar_tus is offline
Registered User
  
 

Join Date: Aug 2008
Posts: 29
---------

Only bash......
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 11:52 PM.


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