User Tools

Site Tools


ultimate_differences_amongst_unix_shells

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Last revisionBoth sides next revision
ultimate_differences_amongst_unix_shells [2021/03/09 23:44] – [Thompson Shell] hc9ultimate_differences_amongst_unix_shells [2021/03/12 18:39] – [Conclusion] hc9
Line 45: Line 45:
 A Bourne-shell workalike is available on SDF as ''`/bin/sh'''. You can read its manual by doing a ''`man sh''' at the command prompt. You can also read its manual [[http://netbsd.gw.com/cgi-bin/man-cgi?sh+1.alpha+NetBSD-2.1|online]] if you prefer to do so. A Bourne-shell workalike is available on SDF as ''`/bin/sh'''. You can read its manual by doing a ''`man sh''' at the command prompt. You can also read its manual [[http://netbsd.gw.com/cgi-bin/man-cgi?sh+1.alpha+NetBSD-2.1|online]] if you prefer to do so.
  
-  Ecl 1:+**Ecl 1:**
  
   $ PATH=/usr/pkg/bin:/usr/bin:/bin ; export PATH ; printenv PATH   $ PATH=/usr/pkg/bin:/usr/bin:/bin ; export PATH ; printenv PATH
   /usr/pkg/bin:/usr/bin:/bin   /usr/pkg/bin:/usr/bin:/bin
  
-  Ecl 2:+**Ecl 2:**
  
   $ ls -l `which sh ksh bash`   $ ls -l `which sh ksh bash`
Line 57: Line 57:
   -rwxr-xr-x  1 root  wheel  963696 Jun  4 08:57 /usr/pkg/bin/bash   -rwxr-xr-x  1 root  wheel  963696 Jun  4 08:57 /usr/pkg/bin/bash
  
-  Ecl 3:+**Ecl 3:**
  
   $ if test -r /netbsd ; then echo /netbsd: Is readable ; fi ; \   $ if test -r /netbsd ; then echo /netbsd: Is readable ; fi ; \
Line 69: Line 69:
 The C shell is available on SDF as ''`/bin/csh'''. You can read its manual by doing a ''`man csh''' at the command prompt. You can also read its manual [[http://netbsd.gw.com/cgi-bin/man-cgi?csh+1.alpha+NetBSD-2.1|online]] if you prefer to do so. The C shell is available on SDF as ''`/bin/csh'''. You can read its manual by doing a ''`man csh''' at the command prompt. You can also read its manual [[http://netbsd.gw.com/cgi-bin/man-cgi?csh+1.alpha+NetBSD-2.1|online]] if you prefer to do so.
  
-  Ecl 1:+**Ecl 1:**
  
   % setenv PATH /usr/pkg/bin:/usr/bin:/bin ; printenv PATH   % setenv PATH /usr/pkg/bin:/usr/bin:/bin ; printenv PATH
   /usr/pkg/bin:/usr/bin:/bin   /usr/pkg/bin:/usr/bin:/bin
  
-  Ecl 2:+**Ecl 2:**
  
   % ls -l `which csh tcsh zsh`   % ls -l `which csh tcsh zsh`
Line 81: Line 81:
   -r-xr-xr-x  2 root  wheel    6352 May 11  2007 /usr/pkg/bin/zsh   -r-xr-xr-x  2 root  wheel    6352 May 11  2007 /usr/pkg/bin/zsh
  
-  Ecl 3:+**Ecl 3:**
  
   % if (-r /netbsd) echo /netbsd: Is readable ; \   % if (-r /netbsd) echo /netbsd: Is readable ; \
Line 99: Line 99:
 ---- ----
  
-UNIX® is a registered trademark of [[http://www.opengroup.org/tm-guidelines.htm|The Open Group]]. \\ \\  $Id: shells.html,v 1.1 2008/12/19 16:35:57 jwodder Exp $ [[http://sdf.org/?tutorials/shells|Ultimate Differences Amongst UNIX® Shells]] - legacy link+UNIX® is a registered trademark of [[http://www.opengroup.org/tm-guidelines.htm|The Open Group]]. \\ \\  $Id: shells.html,v 1.1 2008/12/19 16:35:57 jwodder Exp $ [[http://sdf.org/?tutorials/shells|Ultimate Differences Amongst UNIX® Shells]] - traditional link (using [[wp>Revision_Control_System|RCS]])
  
ultimate_differences_amongst_unix_shells.txt · Last modified: 2022/02/07 20:13 by peteyboy