/ Published in: Bash
                    
                                        
                            
                                Expand |
                                Embed | Plain Text
                            
                        
                        Copy this code and paste it in your HTML
#!/bin/bash
COMMAND=$1
CMDPATH=`which $COMMAND`
if [ -z "$CMDPATH" ]; then
echo "Comando no encontrado"
exit 1
fi
CMDPKG=`dpkg -S $CMDPATH | cut -d":" -f1`
dpkg -s $CMDPKG
URL: http://javierperez.eu/taller-ubuntu-conocer-a-que-paquete-pertenece-un-comando/
Comments
 Subscribe to comments
                    Subscribe to comments
                
                