|
|
|
@ -1,7 +1,7 @@ |
|
|
|
# cheat-sheet |
|
|
|
|
|
|
|
+ [File Management](https://git.laurelcountycorrections.org/jpickard/cheat-sheet#find-and-copy-files-by-extension-recursively) |
|
|
|
+ [Firewall - UFW](https://git.laurelcountycorrections.org/jpickard/cheat-sheet#ufw) |
|
|
|
+ [Network, Firewall, UFW](https://git.laurelcountycorrections.org/jpickard/cheat-sheet#ufw) |
|
|
|
+ [NFS](https://git.laurelcountycorrections.org/jpickard/cheat-sheet#mount-nfs-share-nfs-common-or-nfs-utils) |
|
|
|
+ [Merge Video](https://git.laurelcountycorrections.org/jpickard/cheat-sheet/src/branch/master/README.md#merge-video-files-with-ffmpeg) |
|
|
|
|
|
|
|
@ -40,6 +40,9 @@ ufw reset |
|
|
|
## List ports Linux is listening on |
|
|
|
`sudo lsof -nP -iTCP -sTCP:LISTEN` |
|
|
|
|
|
|
|
## List alive IPs on Network (nmap) |
|
|
|
`sudo nmap -n -sn 192.168.56.0/24 -oG - | awk '/Up$/{print $2}' | sort -V` |
|
|
|
|
|
|
|
## Mount NFS Share (nfs-common or nfs-utils) |
|
|
|
`sudo mount -t nfs 10.10.0.10:/backups /var/backups` |
|
|
|
### /etc/fstab |
|
|
|
|