November 29, 2012


hi guys!
i'm newbie and i've got a porblem here... i want to use a function instead of a command, such as using "a" to replace for "who" command ( except using "alias" ).. so i have this script

. ./
[root@ftp ~]# cat
function a {
unset a
echo " $a=$(who) "

But the result is

=root :0 2012-11-28 08:36
root pts/1 2012-11-28 08:36 0.0)

i wanna remove "=" in result, pliz tell me how to do that... thanks for helping me

Click Here!