Show HN: Linux sysadmin course, eight years on
61–70 of 85 posts
Re: Show HN: Linux sysadmin course, eight years on
#62Re: Show HN: Linux sysadmin course, eight years on
#63Any reason why the course recommends AWS/DO vs. running something locally with Docker?
Re: Show HN: Linux sysadmin course, eight years on
#64Good stuff. Thanks for all the effort you've put into it. One suggestion: Make it more obvious that the courses are on GitHub. I make a point to avoid reddit as much as possible, which means I don't know how to interact with reddit's interface. When I tried to view the course via reddit, I had a lot of trouble locating the actual lessons. They were out of order, and I had to shift through other users' threats ('I mis…
Thanks, and I appreciate your comment. Things do get a little messy, but overall I've been happy with Reddit as a platform - once I figured out to pin a big FAQ ("How This Works") posting. Noone seems to read the sidebar :-(
Re: Show HN: Linux sysadmin course, eight years on
#65There are a number of resources that may be useful for your curriculum for this project listed in "Is there a program like codeacademy but for learning sysadmin?" https://news.ycombinator.com/item?id=19469266 : > [ http://www.opsschool.org/ , https://github.com/kahun/awesome-sysadmin/blob/master/README... , https://github.com/stack72/ops-books , https://landing.google.com/sre/books/ , https://response.pagerduty.com/…
Thanks, but most of that would be way over the top for my "newbies". However, You must be the third or fourth person today to suggest that I add a TOC - so that is something I think I'll need to look at!
Looks like Day 20 covers shell scripting. A few things worth mentioning:
You can write tests for shell scripts and write TAP (Test Anything Protocol) -formatted output: https://testanything.org/producers.html#shell
Quoting in shell scripts is something to be really careful about:
> This and this do different things:
# prints a newline
echo $(echo "-e a\nb")
# prints "-e a\nb"
echo "$(echo "-e a\nb")"
Shellcheck can identify some of those types of (security) bugs/errors/vulns in shell scripts: https://www.shellcheck.net/LearnXinYminutes has a good bash reference: https://learnxinyminutes.com/docs/bash/
And an okay Ansible reference, which (like Ops School) we should contribute to: https://learnxinyminutes.com/docs/ansible/
Why do so many pros avoid maintaining shell scripts and writing one-off commands that they'll never remember to run again later?
...
It may be helpful to format these as Jupyter notebooks with input and output cells.
- Ctrl-Shift-Minus splits a cell at the cursor
- M and Y toggle a cell between Markdown and code
If you don't want to prefix every code cell line with a '!' so that the ipykernel Jupyter python kernel (the default kernel) executes the line with $SHELL, you can instead install and select bash_kernel; though users attempting to run the notebooks interactively would then need to also have bash_kernel installed: https://github.com/takluyver/bash_kernel
You can save a notebook .ipynb to any of a number of Markdown and non-Markdown formats https://jupytext.readthedocs.io/en/latest/formats.html#markd... ; unfortunately jupytext only auto-saves to md without output cell content for now: https://github.com/mwouts/jupytext/issues/220
You can make reveal.js slides (that do include outputs) from a notebook: https://gist.github.com/mwouts/04a6dfa571bda5cc59fa1429d1309...
With nbconvert, you can manually save an .ipynb Jupyter notebook as Markdown which includes the cell outputs w/ File > "Download as / Export Notebook as" > "Export notebook to Markdown" or with the CLI: https://nbconvert.readthedocs.io/en/latest/usage.html#conver...
jupyter convert --to markdown
jupyter convert --help
With Jupyter Book,
you can build an [interactive] book as HTML and/or PDF from multiple Jupyter notebooks as e.g. Markdown documents
https://jupyterbook.org/intro.html : jupyter-book build mybook/
...From https://westurner.github.io/tools/#bash :
type bash
bash --help
help help
help type
apropos bash
info bash
man bash
man man
info info
From https://news.ycombinator.com/item?id=22980353 ; this is how dotfiles work: info bash -n "Bash Startup Files"
> https://www.gnu.org/software/bash/manual/html_node/Bash-Star... ...
Re: dotfiles, losing commands that should've been logged to HISTFILE when running multiple bash sessions and why I wrote usrlog.sh: https://westurner.github.io/hnlog/#comment-20671184 (Ctrl-F for: "dotfiles", "usrlog.sh", "inputrc")
https://github.com/webpro/awesome-dotfiles
...
awesome-sysadmin > resources: https://github.com/kahun/awesome-sysadmin#resources
Re: Show HN: Linux sysadmin course, eight years on
#66Thank you very much for this! I am sorry that I did not know about it sooner. Anyway the question for HN - is it too "late" for a person to consider career change in 33? To clarify, I am not in IT business, my formal education (and job) is in business administration, however with recent and important changes in my private and work life, I am considering to bite the bullet. Initially, I considered back-end development…
I made the decision to change careers into IT when I was 32-ish. Did self-study for a year, and then worked as a junior sysadmin at a SaaS company for a year. Now I work at AWS. It's definitely doable, and becoming more and more common (at least from the candidates and initiatives I see at AWS).
Re: Show HN: Linux sysadmin course, eight years on
#67Thank you very much for this! I am sorry that I did not know about it sooner. Anyway the question for HN - is it too "late" for a person to consider career change in 33? To clarify, I am not in IT business, my formal education (and job) is in business administration, however with recent and important changes in my private and work life, I am considering to bite the bullet. Initially, I considered back-end development…
Nope. I got my first trainee developer role at 37/38. 4 years later and I earn double what I did before I started being a developer and there is pretty much zero chance of me getting that much more in my old role, definitely not in 4 years.
Re: Show HN: Linux sysadmin course, eight years on
#68Clickable subreddit link using the old reddit interface that lets you see the content on mobile even if you aren’t logged into reddit: https://old.reddit.com/r/linuxupskillchallenge The other two links in clickable form as well: http://www.linuxupskillchallenge.org/ http://snori74.blogspot.com/2020/04/health-status.html
Re: Show HN: Linux sysadmin course, eight years on
#69Earlier quoted context omitted.
Although I say repeatedly that each 'lesson' has about two hours work in it I worry that were lessons available, students will just skim though the whole lot "in one go". I also believe that 'forcing' students to ssh in daily for a month gets a bit of muscle-memory working, and proves that they have the required stickability. (The initial paid version reported such things back to their employer!) In fact, all lessons…
> I worry that were lessons available, students will just skim though the whole lot "in one go". I think this is a common pitfall of a number of beginner courses. Personally, I view it as kind of an arrogance of "I know better what you need than you do". As a user, I think you have no say in how I consume any content. > The initial paid version reported such things back to their employer! The employer has no right to…
Re: Show HN: Linux sysadmin course, eight years on
#70Great work! Was hoping though that you could view the course from the landing page - have you considered moving the course to a simple static website where it could be browsed like www.domain.com/day1/ or something similar?