Monday, October 15, 2007

NetStat Live

Use NetStat Live to monitor your bandwidth usage.
How to monitor your Internet bandwidth usage in Windows - Simplehelp

CTRL+R Terminal Command Search

When in the terminal, simply type CTRL+R so bring up a "reverse-i-search" prompt where you can search for any text in any of your previous commands that are stored.
This means that if you type "o" you'll get the last `sudo` command that you ran, but if you type "om" you'll get the last time you used the "/home" in a path.

Command Line: Ctrl+R to search and other terminal history tricks

Vim Commands Cheat Sheets

Vim Commands Cheat Sheet
Vim Cheat Sheet 2

Terminal Process Manager

Featured Linux Download: Manage Processes with htop

Subnet Calculator

Networking Tools - Calculate Subnet Mask/Network/Node/IP/Nslookup/Traceroute

Linux I/O Redirection

The following code redirects stdout to 'outfile.txt', and then it assigns stderr to stdout, which will in effect point stderr to 'outfile.txt' as well.
[root@server /root]# cmd 1>outfile.txt 2>&1
0 = stdin
1 = stdout
2 = stderr

Linux I/O Redirection

Batch files - IF statements

IF [NOT] ERRORLEVEL number command
IF [NOT] string1==string2 command
IF [NOT] EXIST filename command


Batch files - IF statements