bash : grep for pattern from certain location in the file
Using dd, the file can be sliced and then grep can be applied for the pattern on that slice.
Using dd, the file can be sliced and then grep can be applied for the pattern on that slice.
Using snmpwalk on interface table (1.3.6.1.2.1.4.20.1.1 and 1.3.6.1.2.1.4.20.1.3) one can retrieve network information of a system centrally.
Using pear Net_IPv4 one can find if a given IP address is in provided Network range or on the subnet.
Using NetAddr::IP one can find if a given IP address is in provided Network range or on the subnet.
Using a combination of patterns with "-o" and/or -"a" (which OR the pattern or AND the pattern) in find command, one can search for various patterns or combine ...
Using VBoxManage and install-mbr commands, one can use raw disk with a virtual machine under VirtualBox. Here I discuss how to load a partition that has Windows...
Using -size and -exec flags of find command, one can easily find when the logfile has grown above the threshold and move it to another name in one shot.
tasksel install lamp-server is one liner to install the full suite of applications on already running debian based Linux system.
Using shell builtin exec, ouput and error output streams of a script can be redirected just like ">" or ">>" operators.
For each user who has cron jobs scheduled on a system, one file exists in /var/spool/cron directory. So a simple listing of this directory will provide who has ...