Archivo de la categoría: Nix

pmap

sh for PID in `ps -ef| awk ‘// {print $2}’`; do pmap -x $PID > ${PID}.outfile; done whitouh sh ps -eo pid | while read; do pid=»$(($REPLY))» pmap > ./pmap_»$pid» -x «$pid» 2>/dev/null || printf ‘error printing address space map for pid %d\n’ «$pid» >&2 done

Categoría: Nix

TERM

term that works If i remember correctly, setting TERM=dtterm worked well enough for me.

Categoría: Nix

sudoers

# sudoers file. # User privilege specification root ALL=(ALL) ALL usuario ALL=(root) /home/usuario/programa.sh usuario ALL=(root) /home/usuario/programas/*

Categoría: Nix

screen practico

ctrl a + c CREATE WINDOW ctrl a + n where N is a number from 0 to 9, to switch to the corresponding window. ctrl a + p previous window ctrl + a + A NAME SESSION ctrl + a + » interactive list ctrl +a + w  non interactive list   ctrl a +… Leer más: screen practico »

Categoría: Nix

Better Cygwin Terminal

mintty is an option — http://code.google.com/p/mintty/ Better Cygwin Terminal mintty is an option — http://code.google.com/p/mintty/ «Mintty is a terminal emulator for Cygwin and Cygwin derivatives such as MSYS. It can be downloaded from here or it can be installed through Cygwin’s setup.exe program, where it can be found in the Shells category. The Cygwin installer… Leer más: Better Cygwin Terminal »