Linux

Table of Contents

Introduction

Basics

Networking

Port analysis

# Find out the PID and program name using the port
netstat -tulpn | grep :80

# Find out the binary of the process
ls -l /proc/11446/exe

CLI utils

percol

https://github.com/mooz/percol

git branch -D $(git branch -l | percol)

rm

Use this command with care.

tcpdump

tcpdump -s0 -p -A port 8088
tcpdump -w capture.pcap -A port 8088

tree

tree -if src/docs
tree -ifa src/docs / grep order
grep -rin "money" --include *sql ./src/main

Package Managers

yum

Tools

GitHubImpressum