thanks chris.. how would I find the end though? for your code:
Code:
echo $username|cut -d' ' -f1
it only shows the first one... I figured that if you put f2 and f3 you will get the other parts.. but how can I get it since I don't know how many number of names there would be in that variable to display them all? Also I found out that you can do
and it would display the first name.. but I dont know how to find the end of the string.. is there a EOF?