sexta-feira, 18 de julho de 2008

Shell: Cutting last line

tac teste.txt | awk 'NR > 1' | tac

Shell: Inserir uma linha no inicio de arquivo

(echo "hoge"; cat hoge.txt)

insege hoge no inicio do arquivo hoge.txt

How to display or show information about a Linux Kernel module or drivers

http://www.cyberciti.biz/tips/how-to-display-or-show-information-about-a-linux-kernel-module-or-drivers.html

Host multiple SSL sites on a single network card with IP aliasing

http://www-128.ibm.com/developerworks/library/wa-multissl.html?ca=drs-

Usando screen

# .profile (Usuario)
# Adicionar a seguinte linha:
screen -d -R

# .screerc (Usuario)
# Adicionar as seguintes linhas:
multiuser on
acladd root

# Para acessar o screen:
screen -r Usuario/

sudo FAQ

http://polishlinux.org/first-steps/root-account/sudo-faq/

How to install SystemRescueCd on an USB-stick

http://www.sysresccd.org/Sysresccd-manual-en_How_to_install_SystemRescueCd_on_an_USB-stick

Drunk Penguins

Drunk Penguins
Drunk Penguins