Re:Learn Enough Command Line to Be Dangerous (Draft)
by bittercynic on Saturday September 19, 2015 @03:49PM
(#10245339)
What do you have to do to get at the content?
[ Parent
| on HN ]
Re:Learn Enough Command Line to Be Dangerous (Draft)
by mhartl on Saturday September 19, 2015 @06:28PM
(#10245741)
You should just be able to scroll down. If that doesn't work, send an email to the address in my profile with details on exactly what's confusing you. For future iterations of the UI, I'm looking at adding access to the table of contents as well.
Update: You probably just need to enable JavaScript, as the Learn Enough tutorials use the Softcover system (http://softcover.io/), which stores the HTML on S3 and uses JavaScript to pull it in dynamically.
By the way, the other replies to this comment refer to Mark Bates's Conquering the Command Line [1], which is a completely different product.
Re:Learn Enough Command Line to Be Dangerous (Draft)
by kazinator on Saturday September 19, 2015 @04:25PM
(#10245444)
Maybe whip up some curl commands in a command line, post-processed with sed and awk.
I enabled JS from a couple of domains, then gave up and backbuttoned out.
Re:Learn Enough Command Line to Be Dangerous (Draft)
by sunnid on Saturday September 19, 2015 @05:20PM
(#10245568)
Here is the table of contents to make things a bit easier so you won't have to go through all the URLs: https://softcover.s3-us-west-2.amazonaws.com/8/unix_commands...
Re:Learn Enough Command Line to Be Dangerous (Draft)
by mhartl on Saturday September 19, 2015 @06:39PM
(#10245772)
This is the ToC for a different book.
Re:Learn Enough Command Line to Be Dangerous (Draft)
by 101914 on Saturday September 19, 2015 @04:48PM
(#10245500)
Use the command line to get the URLs for each chapter?
Go to conqueringthecommandline.com/book
Save the page source
Insert the filename into the script below
Alternatively, omit filename and pipe the source of the page to the script
Works with BSD sed as well as GNU sed; first lesson: portability
a=$(printf '\004')
sed 's/s3_url/'"$a"'&/' \
|tr '\004' '\012' \
|exec sed '
s/\\u0026/\&/g;
s/.*s3_url.:.//g;
s/\".*//g;
/https:.*Amz/!d;
' filename
I do not recommend this "book". Look at the hoops they make readers jump through. Try grymoire.com; much better and no Javascript required
Re:Learn Enough Command Line to Be Dangerous (Draft)
by mhartl on Saturday September 19, 2015 @06:39PM
(#10245779)
You appear to be confusing two different documents. The OP refers to http://learnenough.com/command-line, not http://conqueringthecommandline.com/book.
Re:Learn Enough Command Line to Be Dangerous (Draft)
by 101914 on Saturday September 19, 2015 @07:26PM
(#10245911)
Indeed. My apologies. Instructions to get the URL to the Hartl draft are the same, except:
Substitute "learnenough.com/command-line" for "conqueringthecommandline.com/book"
Script will work just the same.