Scripts, scripts and scripts.
- find certain strings in files on certain folders
find . -type f ! -exec grep -q '@olddomain.com' {} \; -exec grep -q 'olddomain.com' {} \; -print
find . -type f | xargs egrep -Hn '@olddomain.com'
- search for top talkers using tshark
tshark -r output.cap -T fields -e ip.src "tcp.flags.syn==1 && tcp.flags.ack==0" | sort | uniq -c | sort -rn | head
- chmod multiples files mix with directory.
find /folderpath -type f -exec chmod 644 {} \;
- chmod multiples directory mix with other files.
find /folderpath -type d -exec chmod 755 {} \;
No comment
Say something
Thank you
Your post has been submitted and will be published once it has been approved.
OK
OOPS!
Your post has not been submitted. Please return to the page and try again. Thank You!
If this error persists, please open an issue by clicking here.
OK