[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: More: Lenny: Anacron job 'cron.daily' error "awk" command not found????



On Fri,27.Mar.09, 08:50:35, Curt Howland wrote:
> More information, sorry I didn't think to include this in the prior 
> message.
> 
> Any ideas?
> 
> =====
> $ dpkg -l | grep awk
> ii  gawk    1:3.1.5.dfsg-4.1 GNU awk, a pattern scanning and 
> processing l
> ii  mawk    1.3.3-11.1       a pattern scanning and text processing 
> langu
> =====
> $ awk
> bash: awk: command not found
> 
> # awk
> bash: awk: command not found
> =====
> # ls -al /etc/alternatives/awk
> lrwxrwxrwx 1 root root 13 2008-11-22 
> 20:29 /etc/alternatives/awk -> /usr/bin/gawk

What is the output of

which awk
ls -l /usr/bin/awk

/usr/bin/awk should be a symlink pointing to /etc/alternatives/awk. If 
it's missing you could try using 'update-alternatives' to fix it.

Regards,
Andrei
-- 
If you can't explain it simply, you don't understand it well enough.
(Albert Einstein)

Attachment: signature.asc
Description: Digital signature


Reply to: