Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'It just wont work for me' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
It just wont work for me
Authored by: harpdog on Oct 09, '02 01:00:23PM

I am using 10.2.1 I have developer tools installed and xwindows fink and a few other apps.

I have downloaded the binary of cat and placed it in ~/bin

i have renamed my original cat file to cat.old in /bin.

I cd into my home/bin directory and type

./cat -a

and I get 'permission denied' yet the file does belong to me.

anyway i try sudo cat -a and I get 'command not found'

What gives?



[ Reply to This | # ]
It just wont work for me
Authored by: rjbailey on Oct 09, '02 05:12:47PM

You probably didn't make it executable: type

chmod 755 cat
or
sudo chmod 755 cat

to make it executable. (As per suggestions, I renamed it kat and put it in /usr/local/bin.)



[ Reply to This | # ]
It just wont work for me
Authored by: brandondrew on Nov 12, '04 02:48:00AM

try this instead:
say `uptime | cut -d' ' -f3-7`

---
--
Brandon Z



[ Reply to This | # ]