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

Click here to return to the 'head restoration' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
head restoration
Authored by: moyashi on Jun 04, '01 09:51:08PM

ok, where did you find this ??? search a lot of different places and can't seem to find the link you're talking about.


[ Reply to This | # ]
head restoration
Authored by: hmelton on Jun 05, '01 09:52:02AM

The source code for head can be found by going to
and downloading the text_cmds package. (tar.gz file) Make sure you have the
developer stuff installed and use the make command in the head folder.

Delete /usr/bin/HEAD ( this is an exact duplicate of GET,POST, and lwp-request so nothing is lost)
copy head to /usr/bin as root or using sudo and make the ownership and permissions the same as tail.

[melton-henry-1:/usr/bin] rhca80% sudo chown root head
[melton-henry-1:/usr/bin] rhca80% sudo chmod 555 head
[melton-henry-1:/usr/bin] rhca80% sudo chgrp wheel head
[melton-henry-1:/usr/bin] rhca80% ls -al head tail
-r-xr-xr-x 1 root wheel 14244 Apr 19 09:54 head
-r-xr-xr-x 1 root wheel 18232 May 10 08:24 tail

[ Reply to This | # ]