Solaris vi input mode arrow keys fix

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

# 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 »

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 »

Parallel gzip for modern multi-processor, multi-core machines

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 »

Categoría: Nix

Persistent reverse SSH tunnel

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 »

Categoría: Nix

Reverse tunneling

What is the usage for reverse tunneling? Let say I have my server open ssh port to public, which means remote host from the Internet can access to my server through ssh. Another side, my friend’s machine do not open ssh port to public or his machine is behind the firewall. With this condition, my… Leer más »

Categoría: Nix

nohup Execute Commands After You Exit From a Shell Prompt

Most of the time you login into remote server via ssh. If you start a shell script or command and you exit (abort remote connection), the process / command will get killed. Sometime job or command takes a long time. If you are not sure when the job will finish, then it is better to… Leer más »

Categoría: Nix