Daily Archives: May 19, 2022

Telnet to a port on a remote machine without ncat or telnet, or nmap

There are situations where you may be working on Linux based system, and telnet, ncat or nmap does not exist. In Linux, you can route a test thru the protocol, destination IP address, and destination  port using the “/dev” linux … Continue reading

Posted in Command Line FU, Networking | Tagged , , , , | Leave a comment

sed print only line AFTER string match

File Example

Posted in Command Line FU | Tagged , , | Leave a comment

Remove Leading and Trailing Whitespace using gsub in AWK

Posted in Command Line FU | Tagged | Leave a comment

Cut all characters after last match using SED

Output

Posted in Command Line FU | Tagged , , | Leave a comment

Increment a variable name within a BASH loop

Example

Posted in Command Line FU | Tagged , , | Leave a comment

Enable CIFS/SMB Debug Logging

The following shows how you may enable additional debug logging on Linux for troubleshooting SMB related issues. Example log output:

Posted in SAMBA/SMB/CIFS | Tagged , , , | Leave a comment

Obtain TCP Network netstat output without netstat

There are times you may be on a system and for whatever insane reason, netstat is not installed. Here is how you can obtain interface information without netstat Example results

Posted in Linux, Networking | Tagged , | Leave a comment

Using Windows version of IPMITool called (ipmiutil) does not work when attempting to activate an SOL connection.

IPMIUtil is the Windows Equivalent of IPMITOOLS. It may be downloaded from Sourceforge:  http://ipmiutil.sourceforge.net/ After installing the appropriate Windows Binary, here is the basic syntax of ipmiutil after you install the binary Many of the basic commands DO work. Example … Continue reading

Posted in Windows | Tagged , , , , | 1 Comment