All pastes #345727 Raw Edit

Anonymous

public text v1 · immutable
·published 2007-02-08 20:03 UTC
rendered paste body
#!/bin/bash
FILE=/etc/motD
FILE2=/var/run/motd
FILE3=/etc/motd
function boot {
apt-cache search apache | grep tomcat ;}
if [ -f $FILE ]; then
echo el fichero $FILE existe
else if [ -f $FILE2 = $FILE3 ]; then
echo /etc/motd y /var/run/motd son iguales
else
echo /etc/motd y /var/run/motd son diferentes
fi
fi