mailx send file
uuencode mylogs.log mylogs.log | mailx -s «logs file» [email protected]
uuencode mylogs.log mylogs.log | mailx -s «logs file» [email protected]
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
term that works If i remember correctly, setting TERM=dtterm worked well enough for me.
Solaris vi input mode arrow keys fix This blog post is not for you to read. It’s for me. You see, every once in a awhile, I work for a client/employer who uses Solaris, OpenSolaris, Unix, or some other traditional Unix-like OS. They have their reasons, and they are good ones, and I’m fine with… Leer más »
# sudoers file. # User privilege specification root ALL=(ALL) ALL usuario ALL=(root) /home/usuario/programa.sh usuario ALL=(root) /home/usuario/programas/*
cat xyz | egrep -i «pattern1|pattern2»
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 »
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 »
A parallel implementation of gzip for modern multi-processor, multi-core machines You can download the latest source code right here: pigz source code version 2.1.6 (17 Jan 2010) in tar.gz format (51K, MD5 checksum cbe9030c4be3d0ef2438ee5f8b169ca4) pigz, which stands for parallel implementation of gzip, is a fully functional replacement for gzip that exploits multiple processors and… Leer más »
A little while ago, I found myself with the desire to access my home machine when I’m not at home. (I was mostly looking for the ability to do things like set off an OpenSolaris «nightly» build from work so that it would be done before I was at home in front of my computer… Leer más »