Friday, May 28, 2010

MAC OS X pgup, pgdn, home and end

In MBP keyboard there is no pgup, pgdn, home and end key.
but there is an alternative to do that.

pgdn in shell -> fn+shift+down arrow
pgup in shell -> fn+shift+up arrow
home in shell -> fn+shift+left arrow
end in shell -> fn+shift+right arrow

pgdn gui -> command+down arrow
pgup gui -> command+up arrow
home gui -> command+left arrow
home gui ->command+right arrow

list open ports and unix sockets

To do this I use netstat command to list all open ports: $ sudo netstat -tuplen to list open ports and unix sockets: $ sudo netstat -...