![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| 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 | |||
![]() |
|
|
LinkBack | Thread Tools | Search this Thread |
Rating:
|
Display Modes |
|
|
|
||||
|
I use and like bash.
However, strangely (I use several terminal windows), i have never figured out where the history of each window goes. I am certain that bash does not *save* command history per window. The .bash_history file has the history of which terminal window -- certainly not all. That said I am still after 20 years of unix, not happy with the scripting language. Minor issues like spaces matter in variable setting, and various other places. Also, when reading lines frm a file in a loop, words get split -- you have to remember to change the setting for that. Spaces in filenames cause annoying problems. e.g. Quote:
Quote:
Last edited by sentinel; 09-25-2008 at 01:08 AM.. |
|
||||
|
Quote:
I googled and found this: Quote:
If you can share any tips for screen (related to this) or just share your screenrc -- would be really grateful. I have read lots of great tutorials, btw. |
|
||||
|
I have used bash the longest since it is standard on RHEL and Mac OS X. I like it because it is intuitive and behaves identically on all of the systems I have used it on. But recently I stepped into the AIX world where ksh is the default shell. I do like the vi command line editing, but I can also do that in bash (using 'set -o vi' as mentioned in this thread). I didn't know about the korn auto-completion options, so thanks to those who shared those tips! But one thing I really adore about bash and tcsh is that you can use time-saving history recall options, like:
Code:
$! - return last option to the previous command !^ - return first option to the previous command !:2-4 - return second through fourth options to previous command !vi - recall last vi command !?grep - recall last command that had grep anywhere in it Code:
!?grep?:p !vi:p Last edited by indiana_tas; 01-05-2009 at 12:12 PM.. |
![]() |
| Bookmarks |
| Tags |
| bash, ksh, linux commands, shell, shell script, shell scripting, unix commands, unix scripting, unix scripting basics |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|