Hola,
He creado el scrip /usr/local/bin/lesspipe.sh y le he dado permisos 755 y he
establecido en /etc/profile la variable LESSOPEN=|lesspipe.sh %s
[EMAIL PROTECTED] (/home/ijalonso)$ ls /usr/local/bin
total 4
drwxr-xr-x 2 root root 1024 abr 24 20:35 .
drwxr-xr-x 11 root root
Ignacio J. Alonso decia:
El problema es que cuando intento usarlo recibo el siguiente error:
[EMAIL PROTECTED] (/home/ijalonso)$ less cg02.zip
/bin/bash: lesspipe.sh: command not found
cg02.zip may be a binary file. See it anyway?
y puedo asegurar que el directorio está en el path
2 matches
Mail list logo