Re: :) Missing command ;(

From: Michele Andreoli (m.andreoli@tin.it)
Date: Fri Apr 07 2000 - 13:38:10 CEST


On Fri, Apr 07, 2000 at 06:42:33AM +0000, Jochen Cichon nicely wrote:
> Hi,
>
> the installed muLinux works fine, and I use it for teaching some friends
> ind Linux. (Because it's so small they can install on their machines
> without new harddisk!)
>
> And there are some nice Programs missing WHOAMI, HOSTNAME
> sure they are really tiny, but also usefull ?!
>
> # WHOAMI
> set |grep USER|sed s/USER=//
>
>
> # HOSTNAME
> set|grep HOSTNAME|sed s/HOSTNAME=//
>

There is an "hostname" command in mulinux (a simple script).
Usage:

                # hostname { print hostname }
                # hostname x { set hostname to x}

There isn't a "whoami" command, but I provide a simple "logname".
On some system, these are the standard.

Michele

-- 
I'd like to conclude with a positive statement, but I can't 
remember any. Would two negative ones do?       -- Woody Allen
---------------------------------------------------------------------
To unsubscribe, e-mail: mulinux-unsubscribe@sunsite.auc.dk
For additional commands, e-mail: mulinux-help@sunsite.auc.dk


This archive was generated by hypermail 2.1.6 : Sat Feb 08 2003 - 15:27:13 CET