5

Question about a VIM script from a absolute noob

view full story
linux-howto

http://www.unix.com – What is this script meant to do? How do I make it executable and how do i run it? I am trying to understand what the script is doing and how it is doing it... need a little advice. Here is is.. Code: if [ -n "$user"  ]  then   list=`w | grep $user | cut -c19-30`   if [  "$list" != "" ]   then     echo "The user $user is logged   in from $list"     else       echo "The user $user is not  logged in now"     fi   fi (HowTos)