Lost your password?

Blogs about: Ksh

Featured Blog

getopts.java - command line parser for Java

h446log wrote 2 days ago: getopts.java is a simple parser for java. It is based on the Unix getopts shell utility of the same … more →

Tags: Code, SH, Bash, Unix, Linux, getopts, Java

Travesty in New York...By Charles Krauthammer... Holder himself told The Washington Post that the coming New York trial will be "the trial of the century." The last such was the trial of O.J. Simpson.2 comments

ctpatriot1970 wrote 6 days ago: WASHINGTON — For late-19th-century anarchists, terrorism was the “propaganda of the deed … more →

Tags: Recomended, obama, 9/11, you tube, death, Hate, Terrorist, O. J., simpson

printargs.c - utility for debugging quoted strings in shell scripts

h446log wrote 2 weeks ago: Here’s a very simple utility program that I use to debug how the shell interpreter parses quot … more →

Tags: Code, Bash, C#, SH, shell script

grep utilities: hgrep (highlighted grep) and rgrep (recursive grep)1 comment

h446log wrote 2 weeks ago: 1. hgrep displays grep results in highlights. 2. rgrep runs grep on all the files in a directory tre … more →

Tags: Code, Bash, grep, Linux, SH, shell, Unix

Number base conversions and calculations

h446log wrote 2 weeks ago: Perform number base conversions and calculations. Note: The script behaves differently, depending on … more →

Tags: Code, Bash, B.C., Linux, SH, Unix

ffpath -- - Search $PATH for file(s)

h446log wrote 3 weeks ago: This is a utility script that operates similarly to the find file (ff.sh) script previously presente … more →

Tags: Code, SH, Bash, Unix, Linux

Some neat aliases, shell functions, and shell one-liners

h446log wrote 4 weeks ago: Set the command line prompt to the current shell level and directory (directory is abbreviated if ve … more →

Tags: Code, Bash, SH, shell, shell alias, Shell Function

File Find

h446log wrote 1 month ago: Here’s a shell script that implements the old Norton Utilities “FileFind” utility. … more →

Tags: Code, Bash, FileFind, Linux, SH, shell script, Unix

A safe rm

h446log wrote 1 month ago: Here is a script that implements a Windows style ‘Recycle Bin’ delete function. Similarl … more →

Tags: Code, Bash, Linux, RM, SH, shell script, Unix

[unix] Change default login shell

kousik wrote 1 month ago: I just stumbled upon a few ways to change the default login shell to bash: The easiest one is $ chsh … more →

Tags: Unix, Bash, *BSD, csh, Darwin, Linux, MacOSX, OpenSuse, OSX

Why I Use Korn Shell Everywhere6 comments

ddouthitt wrote 1 month ago: The first thing I do when I log into a system, including Solaris, HP-UX, FreeBSD, and Linux is exec … more →

Tags: Unix, csh, Bash, posix shell, Shells, C-shell, Korn shell

xargs. The command line loop without a loop.

peeterjoot wrote 2 months ago: Here’s the task. Check out a bunch of files from version control to work on them, perhaps driv … more →

Tags: C/C++ development and debugging., xargs

Arrays in ksh

Amin Jaffer wrote 3 months ago: # how to create a array and assign a list of values set -A fruit apples pears oranges banana # print … more →

Tags: Unix, shell unix, Create, Array, assign

How to write a case condition in shell?

Amin Jaffer wrote 3 months ago: In ksh shell – case statement case variable_name in pattern1) statements1 ;; pattern2) stateme … more →

Tags: Unix, shell unix, case, csh, if, Condition

How ERR trap works?

Amin Jaffer wrote 3 months ago: # Sample script that shows how ERR signal works, when a command returns a non-zero status it trigger … more →

Tags: Unix, shell unix, trap, err..., signal, catch, non-zero

Howto: Pause a Shell Script

ccollins wrote 4 months ago: Computer Data Output File this one under “Another Nifty script-let”.  The problem this t … more →

Tags: HOW TO?, languages, Linux, Open-Source, Software Engineering, Bash, C-shell, csh, Korn shell

Script 4 Your Life!!!

iscript4u wrote 6 months ago: Most Linux [and to some extent, Windows] users or administrators try to run away from scripting or g … more →

Tags: Programming, coding, Scripting, Linux, shell, Script, Python, Bash, HPUX

which shell am I using ?

prateekurmaliya wrote 6 months ago: this question keeps cropping up on various forums,how can a user check which login shell she is usin … more →

Tags: echo, shell, Unix

How to create history file for different user?

Amin Jaffer wrote 10 months ago: If you use SSH to login using your own user account and su to oracle or su directly to oracle then d … more →

Tags: Unix, History, HISTFILE, HISTSIZE


Have your say. Start a blog.

See our free features →

Related Tags
All →

Follow this tag via RSS