Last active
February 20, 2017 13:12
-
-
Save bigsolom/a107c7865f44a6acf177 to your computer and use it in GitHub Desktop.
Revisions
-
bigsolom revised this gist
Feb 20, 2017 . 1 changed file with 2 additions and 2 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -3,5 +3,5 @@ find ./ -name "file_name" -printf "%T+\t%p\n" | sort -r #Monitor the HTTP requests coming out of shell tcpflow -p -c -i en0 port 80 | grep -oE '(GET|POST|HEAD) .* HTTP/1.[01]|Host: .*' #or httpry -i en0 -
bigsolom revised this gist
Feb 20, 2017 . 1 changed file with 4 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,3 +1,7 @@ #Find a file in directory and sort by date modified (logs updated for example) find ./ -name "file_name" -printf "%T+\t%p\n" | sort -r #Monitor the HTTP requests coming out of shell tcpflow -p -c -i en0 port 80 | grep -oE '(GET|POST|HEAD) .* HTTP/1.[01]|Host: .*' tcpflow -p -c -i lo0 port 80 | grep -oE '(GET|POST|HEAD) .* HTTP/1.[01]|Host: .*' tcpflow -p -c -i eth0 port 80 | grep -oE '(GET|POST|HEAD) .* HTTP/1.[01]|Host: .*' -
bigsolom created this gist
Dec 10, 2015 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,3 @@ #Find a file in directory and sort by date modified (logs updated for example) find ./ -name "file_name" -printf "%T+\t%p\n" | sort -r This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,5 @@ #select and edit vertically 1. Ctrl+V #select column 2. i #insert 3. type the text you want to replace column with 4. ESC