A primer on the Command Line Interface. I’ll be posting once a week, and would love to get fellow lobsters feedback – what stuff do you wish you knew when you were learning the CLI? What things should I explain as simply as possible? My main audience is total newcomers to the CLI.
In addition to the tools used on the command line, efficiencies in using the shell are also going to make a huge impact for new users - things like sudo !! and basic readline bindings like C-w and C-a for editing the line.
a guide to preserving and searching your complete bash history (e.g. https://sanctum.geek.nz/arabesque/better-bash-history/) perhaps coupled with some sort of log rotation scheme to archive it and start a new one every so often (but keep the old ones searchable)
Will the site be OS-agnostic? I think it would be neat to cover a general topic and say “this is how it’s done in OpenBSD, but this is how it’s done in many Linux distributions, and this is how it’s done on a Mac.”
A primer on the Command Line Interface. I’ll be posting once a week, and would love to get fellow lobsters feedback – what stuff do you wish you knew when you were learning the CLI? What things should I explain as simply as possible? My main audience is total newcomers to the CLI.
Topics I’ll be covering soon:
And then in the future:
In addition to the tools used on the command line, efficiencies in using the shell are also going to make a huge impact for new users - things like
sudo !!
and basic readline bindings like C-w and C-a for editing the line.I would add !g, which executes the last command that started with g.
Thanks! Yeah, there are probably some people who’ve been using the CLI for a while that that kind of stuff could help too.
a guide to preserving and searching your complete bash history (e.g. https://sanctum.geek.nz/arabesque/better-bash-history/) perhaps coupled with some sort of log rotation scheme to archive it and start a new one every so often (but keep the old ones searchable)
Will the site be OS-agnostic? I think it would be neat to cover a general topic and say “this is how it’s done in OpenBSD, but this is how it’s done in many Linux distributions, and this is how it’s done on a Mac.”
Custom aliases and functions. Pipe redirection.
[Comment removed by author]
Thanks Ray!