
|
84799 packages online
|
|
 |
|
|
|
No screenshot available
|
Short: | Print user\'s shell (MultiUser) |
Author: | cmccarth dullahan.rtc-cork.ie (Chris McCarthy) |
Uploader: | cmccarth dullahan rtc-cork ie (Chris McCarthy) |
Type: | util/batch |
Architecture: | m68k-amigaos |
Date: | 1996-03-21 |
Download: | util/batch/getsh.lha - View contents | Readme: | util/batch/getsh.readme |
Downloads: | 546 |
|
This program prints the shell of the owner of the current task (the user
who runs the getsh program). I find it useful for scripts which need to
know what the user's shell is, e.g., in my S:Shell-Startup I have the
following lines.
IF `getsh` EQ "unix:usr/local/bin/csh"
unix:usr/local/bin/csh
endcli
ENDIF
So if the user's prefered shell is csh, it will be ran, rather than the
standard AmigaShell.
Legal stuff: You are free to use/modify this program for your own needs.
Requirements:
This program requires MultiUser (© Copyright 1993-1994 by Geert Uytterhoeven).
|
Contents of util/batch/getsh.lha
PERMSSN UID GID PACKED SIZE RATIO CRC STAMP NAME
---------- ----------- ------- ------- ------ ---------- ------------ -------------
[generic] 3645 5476 66.6% -lh5- a44a Mar 17 1996 getsh/getsh
[generic] 724 1347 53.7% -lh5- 895c Mar 17 1996 getsh/getsh.c
[generic] 404 643 62.8% -lh5- 23f0 Mar 17 1996 getsh/getsh.readme
---------- ----------- ------- ------- ------ ---------- ------------ -------------
Total 3 files 4773 7466 63.9% Mar 21 1996
|
|
|
 |
Page generated in 0.02 seconds |
Aminet © 1992-2024 Urban
Müller and the Aminet team.
Aminet contact address: <aminet aminet net> |