What is bourne shell?
Bourne Shell is the oldest shell. It was written by Stephen Bourne at Bell Laboratories. The Bourne Shell has been the default shell for many UNIX like operating system and root users. It has been a de facto standard in the industry. The Bourne Shell has neither the interactive features, nor the complex programming constructs, of the C and Korn shells.
/bin/sh
Bourne shell is located at /bin/sh
A modified and advanced version may be installed in modern UNIX like operating systems. It may be a symbolic link more feature-rich shell than the Bourne shell.
It is still used to write system initialization scripts located in /etc/rc.d/ or /usr/local/etc/rc.d or /etc/init.d/ scripts.
A Typical Example of /bin/sh Script From FreeBSD Operating System
#!/bin/sh # # $FreeBSD: src/etc/rc.d/cron,v 1.7.10.1.4.1 2009/04/15 03:14:26 kensmith Exp $ # # PROVIDE: cron # REQUIRE: LOGIN cleanvar # BEFORE: securelevel # KEYWORD: shutdown . /etc/rc.subr name="cron" rcvar="`set_rcvar`" command="/usr/sbin/${name}" pidfile="/var/run/${name}.pid" load_rc_config $name if checkyesno cron_dst then cron_flags="$cron_flags -s" fi run_rc_command "$1"
Bourne Shell Features
- Command history feature : No (the ability to store commands in a buffer, then modified and reused)
- Line editing feature : No ( the ability to modify the current or previous command lines with a text editor)
- Restricted shells : No ( security feature providing a controlled environment with limited capabilities)
- 30 Handy Bash Shell Aliases For Linux / Unix / Mac OS X
- Top 30 Nmap Command Examples For Sys/Network Admins
- 25 PHP Security Best Practices For Sys Admins
- 20 Linux System Monitoring Tools Every SysAdmin Should Know
- 20 Linux Server Hardening Security Tips
- Linux: 20 Iptables Examples For New SysAdmins
- Top 20 OpenSSH Server Best Security Practices
- Top 20 Nginx WebServer Best Security Practices
- 20 Examples: Make Sure Unix / Linux Configuration Files Are Free From Syntax Errors
- 15 Greatest Open Source Terminal Applications Of 2012

- My 10 UNIX Command Line Mistakes
- Top 10 Open Source Web-Based Project Management Software
- Top 5 Email Client For Linux, Mac OS X, and Windows Users
- The Novice Guide To Buying A Linux Laptop












{ 1 comment… read it below or add one }
That is what i was looking for almost a week in the net,bourne shell, thanks to make it very easier to understand,you are the best.once more thanks.