dman7777777
IS-IT--Management
I am a computer operator and I tend a AIX server with Unix usenig the Korn Shell. I have trouble makeing a variable and useing it as a command. For instance, I can make the variable...like this: A=(ls -lt | head) and if I echo it out it shows what is inside the variable. But if I use it as a command....$A...I do not get the desirable results. What am I doing wrong and how can I make a variable that the system will recognize as a command and not just text?