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
There has been a lot of discussion lately about security and the web (wonder why?). Many great suggestions have come from this group on how to secure your web site and I will try not to repeat them. However, I think the list below should be used when ever a site is being moved from… Leer más »
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/*
17:35:04 up 113 days, 2:34, load average: 0.04, 0.01, 0.00 root@local:~# uname -a Linux local 2.6.24.111 #1987 Sat Aug 7 02:06:16 CEST 2010 mips
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 »