Ben Chuanlong Du's Blog

It is never too late to learn.

Tips on arp-scan

Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!

Installation

Ubuntu

wajig install arp-scan

Mac

brew install arp-scan

Usage

sudo arp-scan -l

sudo arp-scan -l -I network_interface

Tools for Differencing Text Files

General Tips

  1. If 2 files are formatted differently, you can first format them and then check the differences between them. An extreme way is to get rid of all white spaces in the 2 files and then compare them.
    sed -i 's/ //g' file_1 file_2
    

Command-line Tools

git-diff

git diff …

Header Files in Linux

Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!

limits.sh: libc-dev

Maning Packages Using Yum in CentOS

Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!

yum update

yum search vim

yum install yum-utils

yum install pkg

yum localinstall pkg

yum groupinstall development

yum install https://centos7.iuscommunity.org/ius-release.rpm

yum info unixODBC 

rpm -ivh pkg …