I found interesting articles '70+ Cheat Sheets On 22 Programming And Scripting Languages!' and '53 Cheatsheets For Programmers And Developers In Alphabetical Order! ' Here is the list of such cheat sheets, that I feel useful and relevant. All in onehttp://www.cheat-sheets.org/http://refcardz.dzone.com/1. Apachehttp://www.petefreitag.com/cheatsheets/apache/Apache Anthttp://refcardz.dzone.com/refcardz/getting-started-apache-ant?oid=hom24765Apache Cassandrahttp://refcardz.dzone.com/refcardz/apache-cassandraApahce Hadoophttp://refcardz.dzone.com/refcardz/getting-started-apache-hadoop2. awkhttp://www.catonmat.net/download/awk.cheat.sheet.pdf3. sedhttp://www.catonmat.net/download/sed.stream.editor.cheat.sheet.pdf4. edhttp://www.catonmat.net/download/ed.text.editor.cheat.sheet.pdf5. Chttp://www.digilife.be/quickreferences/QRC/C%20Reference%20Card%20%28ANSI%29%202.2.pdfOn Linux to link with Linux header files5.1 with ctagsFirst run ctagsModify ~/.vimrc fileset tags=linux/tags5.2 without ctagsshift + k to go to man pagego to header file and then press gf to go header filectrl + o to come back from header file to original code. 6. Core C# and .Nethttp://www.digilife.be/quickreferences/QRC/C%20Reference%20Card%20%28ANSI%29%202.2.pdfhttp://www.cheat-sheets.org/saved-copy/NETFX4-Poster.pdf7. C# and VB.Nethttp://aspalliance.com/6258. String Formatting in C#http://blog.stevex.net/string-formatting-in-csharp/9. C++http://cs.fit.edu/~mmahoney/cse2050/how2cpp.htmlhttp://www.dreamincode.net/downloads/ref_sheets/cpp_reference_sheet.pdf10. STLhttp://www.digilife.be/quickreferences/QRC/STL%20Quick%20Reference%201.29.pdf11. Eclipse Keyboard shortcuthttp://eclipse-tools.sourceforge.net/shortcuts.html

Here is a command that will let you know about
the available shells on your Linux distribution:

#chsh -l

To change your login shell, use the following
command:

# chsh

LS

lspci â€“ Lists all PCI
devices. Use -v for verbose output.lsusb â€“ Lists all USB devices. Use -v for
verbose output.lsmod â€“ Lists the status of modules in the
Linux kernel.lsattr â€“ Lists file attributes on a second
extended Linux file system.lsof â€“ Lists the file descriptors opened by all
the processes. A very useful command when a process fails to close any file
descriptors.

ls -l --color=autols -lSrShow files by size, biggest lastpushd .Put current dir on stack so you can popd back to it

Built in variables:$1-$NStores the arguments (variables) that were passed to the shell program from the command line.$?Stores the exit value of the last command that was executed.$0Stores the first word of the entered command (the name of the shell program).$*Stores all the arguments that were entered on the command line ($1 $2 ...)."$@"Stores all the arguments that were entered on the command line, individually quoted ("$1" "$2" ...).

Scan open ports

TCP

nmap -sS -O UDPnmap -sU -O

To find out last word

$cat fileinfo.txt | rev | awk '{print $1}' | rev

Know the libraries used by a program

ldd

Undo your changes even after quitting the VIM editorAs all of us know, if you make changes in a file using VIM editor, the changes are permanent and you cannot get the old version back after you save and quit the editor.But VIM v7.3 allows you to get the old version back even after quitting the editor.Here is a tip that shows you how to configure VIM to remember changes.To enable Undo, execute the following commands in VIM just before starting to edit the file.:set undofile:set undodir=/tmpThis is to be done every time you start editing a file. In case you need the configuration to be there for all files that you open in VIM, create a file called '.exrc' or '.vimrc' in $HOME directory. In my case, it is /myhome. Open the just created file and add the following commands:# vi /myhome/.exrcset undofileset undodir=/tmpSave and close the file.:wqFrom now onwards, the Undo history is maintained in the background for all files that you edit with VIM.

Measuring the network throughput between two Linux systems

Iperf is a tool that measures the bandwidth and the quality of a network link. It can be installed very easily on any Linux system. One host must be set as the client and the other one as the server. Make sure that iperf is installed on both systems. If it is not installed, then use your package manager to install it before trying this tip.

Now run iperf on one of the Linux systems as the server, as shown below:

By default, the iperf client connects to the iperf server on the TCP port 5001 and the bandwidth displayed by iperf is the bandwidth from the client to the server. In the above example, it is 8.51 Mbits/sec between two Linux test systems connected over a wireless network.