Someone trashed /usr/bin/ls by doing:
cat textfile > \ls
Now when you ls I can see his text.
Long story, but how can I get it back? I saw ls in /usr/ucb, /usr/xpg4/bin and /usr/bin/sparcv9.
I copied the one in /usr/bin/sparcv9 to /usr/bin and it seemed liked it worked ok. I can ls, and use other programs that use it. But, when I did a truss on it, it looks like there is still a line of trash in there.
Any help is greatly appreciated,
Thanks,
cat textfile > \ls
Now when you ls I can see his text.
Long story, but how can I get it back? I saw ls in /usr/ucb, /usr/xpg4/bin and /usr/bin/sparcv9.
I copied the one in /usr/bin/sparcv9 to /usr/bin and it seemed liked it worked ok. I can ls, and use other programs that use it. But, when I did a truss on it, it looks like there is still a line of trash in there.
Any help is greatly appreciated,
Thanks,