Last active
August 29, 2015 14:02
-
-
Save yarapavan/1fba2c851ad7bdca282b to your computer and use it in GitHub Desktop.
Miscelli
This file contains 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 characters
Extract html links: | |
lynx -dump -listonly html.htm | |
grep -oP "(?<=src=\")[^\"]+(?=\")" test.txtgrep -oP "(?<=src=\")[^\"]+(?=\")" html.txt | |
awk -F\" '{print $(NF-1)}' html.txt | |
Fix Mac CLI permission errors (Insecure world writable dir /usr/local in PATH, mode 040777): | |
1. Disk utility > repair disk permissions | |
2. chmod -R o-w /usr/local/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment