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 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-09-2008
dsudhansu dsudhansu is offline
Registered User
  
 

Join Date: Aug 2008
Posts: 1
#!/usr/bin/ksh is my favourite shell .
  #2 (permalink)  
Old 08-14-2008
amsct amsct is offline
Registered User
  
 

Join Date: Aug 2008
Location: Amsterdam, The Netherlands
Posts: 33
Ksh rocks :-)
  #3 (permalink)  
Old 08-14-2008
vidyadhar85's Avatar
vidyadhar85 vidyadhar85 is offline Forum Staff  
Moderator(The Tutor)
  
 

Join Date: Jun 2008
Location: INDIA
Posts: 1,390
i agree with amsct KSH is great..
  #4 (permalink)  
Old 08-27-2008
otheus's Avatar
otheus otheus is offline Forum Staff  
Moderator ala Mode
  
 

Join Date: Feb 2007
Location: Innsbruck, Austria
Posts: 1,884
Quite happy with BASH, although I haven't used KSH since the mid-90's. The main thing missing from BASH is KSH's !(...) file glob feature. A friend recently showed me zsh, and it's come a long way in the last 10 years. I like the pop-up / browse filename feature. Very sleek.

So in general I break it down as follows:

zsh : interactive use (but I still don't use it every day)
bash : advanced all-purpose shell-scripting
ksh : when you have to be portable and sh compatibility means pulling hair.
  #5 (permalink)  
Old 08-27-2008
otheus's Avatar
otheus otheus is offline Forum Staff  
Moderator ala Mode
  
 

Join Date: Feb 2007
Location: Innsbruck, Austria
Posts: 1,884
Quote:
Originally Posted by jb_bsd View Post
If I want to do the same 2 years from now, all I may have to do
is grep several saved history files ( the "usual" history file, which rotates,
and saves across reboots, saved periodically so commands not lost)
Cool and *yawn*. I implemented something like this in BASH. Since I use screen I often have multiple histories, so I created my own search/merge system. Sometimes a command I'm looking for is only relevant to Solaris, sometimes to Linux, sometimes to my Linux cluster. For this, I keep different histories separated by host-type and tty.
  #6 (permalink)  
Old 08-28-2008
otheus's Avatar
otheus otheus is offline Forum Staff  
Moderator ala Mode
  
 

Join Date: Feb 2007
Location: Innsbruck, Austria
Posts: 1,884
Quote:
Originally Posted by jb_bsd View Post
i've multiple .htm on how-to-use screen saved but have no reason to use it yet (one CPU on the network).
Does that reflect lack of computing power or lack of complexity?
If it's the former:

1036 9716 0.0 0.1 7532 3016 ? Ss Jul26 8:50 SCREEN -c
1036 30119 0.0 0.1 10520 3944 ? Ss Jul24 41:53 SCREEN

That's 50 minutes -- 0.1% -- of computing time in a month.

If it's the latter, well, it all depends on how much you use the command line, I guess, and how much you like moving your hands from the mouse to keyboard and back. On a laptop or special keyboards, it's only a slight gain in productivity.
  #7 (permalink)  
Old 08-27-2008
cfajohnson's Avatar
cfajohnson cfajohnson is offline Forum Advisor  
Shell programmer, author
  
 

Join Date: Mar 2007
Location: Toronto, Canada
Posts: 2,361
Quote:
Originally Posted by otheus View Post
The main thing missing from BASH is KSH's !(...) file glob feature.

You can turn that on in bash with shopt -s extglob.
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:27 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