Used Space Speed Script based off “df” – DF
Want to monitor how fast space is being cleared or used up. The resolution of this script isnt as good as I prefer it to be, I put 60 seconds to getRead More…
Want to monitor how fast space is being cleared or used up. The resolution of this script isnt as good as I prefer it to be, I put 60 seconds to getRead More…
Redirecting Linux IO with SSH Redirecting STDOUT from LOCAL MACHINE to FILE in another MACHINE Example use would just be to copy a file. Another would be to list the contents ofRead More…
Imagine this: You stuck in a USB drive, you go in to try and write something or delete something and it says its read only filesystem. You type mount and notice theRead More…
–TEST SPEED WITH EXT3– Go to where the filesystem you mounted is at: # cd /mnt/r55 -WRITE TEST:- ZEROS DATA: # dd if=/dev/zero of=testfile0 bs=8k count=10000; sync; Hit CONTROL-C after 5 secondsRead More…
This is a working program that I use to scour through lots of text for keywords. I put the keywords in the terms file, one line at a time (keywords or keyRead More…
LOOK THROUGH EVERYTHING IN DIRECTORY FOR TERMS #################################################### Made this article into an amazing program set/script called: termsearch Make a terms file in the directory where you want to recursively search forRead More…
Imagine your on PC1 doing a tcpdump to a file but you dont have enough room, solution stay on PC1 run the same tcpdump command but pipe it through ssh and saveRead More…
LOCAL pcap RECORDING with TCPDUMP When troubleshooting and doing tcpdumps it might be best to capture full output and then analyze it. Instead of later realizing that you might of missed someRead More…
WHAT IS THIS: ############## /sys holds alot of information about the system and its current settings and devices. Sometimes you want to read all those values. Here is a nice script thatRead More…
TRAVERSING NAT: HOW TO SETUP A PERMANENT TUNNEL BETWEEN YOUR PC AND A SSH SERVER SO YOU CAN CONNECT TO YOUR PC @ ANYTIME ########################################################################################################################### Lets say you have a machine/pc/serverRead More…