Showing 2 results for the tag: bash.

19

Oct

2004

4

apt-get en Gentoo

reloj16:20 calendarioCategorías: Linux

Yuanx nos comenta un inventillo para los que vienen de Debian, no echen de menos el maravilloso (risa) apt-get.

#!/bin/bash
#Script para Debianeros arrepentidos

if [ "$1" == "install" ]; then
echo -e "Recuerda: emerge $2"
emerge $2
elif [ "$1" == "search" ]; then
echo -e "Recuerda: emerge -s $2"
emerge -s $2
elif [ "$1" == "update" ]; then
echo -e "Recuerda: emerge sync"
emerge sync
elif [ "$1" == "dist-upgrade" ]; then
echo -e "Recuerda: emerge -uD world"
emerge -uD world
else
echo -e "To Install: apt-get install $2"
echo -e "To Search: apt-get search $2"
echo -e "To UpdateDB: apt-get update"
echo -e "To Update System: apt-get dist-upgrade"
fi
  • Canal Gentoo (enlace muerto) | href=»http://www.canalgentoo.com/modules.php?name=News&file=article&sid=54

07

Jul

2004

15

Creando ejecutables en PHP

reloj21:14 calendarioCategorías: PHP

Hace tiempo que llevaba queriendo escribir este tutorial, bueno, más que escribir, pasar a limpio, porque lo tenía en un *.txt esperando a ser publicado. Consiste básicamente en como crear un ejecutable programado en php, para poderlo abrir sin necesidad de navegador u otros.
[+ Más]