The bash e book to rule all of them
Nov 8, 2023
The bash e book to rule all of them
I ♥ to /bin/bash
and final week I got here across the one bash book to rule all of them.
Environment friendly Linux on the Command Line by Daniel J. Barrett.
Why it’s good
“I discovered rather a lot” doesn’t assist since you do not know the place I began from anyway. So here’s a curated checklist of questions you possibly can ask your self to determine if this e book is for you.
You need to perceive why cd
is just not an executable however a builtin?
You need a fairly e book with a wonderful Saker falcon illustration on the quilt?
You need to know why this redirect doesn’t work?
$ sudo echo "New log file" > /var/log/customized.log
bash: /var/log/customized.log: Permission denied
You need to demystify the fallacy of “international variables” and perceive what export
means?
You need to perceive how job management works, and the way it’s all a shell assemble?
You need to know what this error message means and tips on how to keep away from it?
$ rm *.txt
-bash: /bin/rm: Argument checklist too lengthy
You need to be taught methods that may spare your fingers like utilizing |&
as a substitute of 2>&1 |
?
You need to be reminded of the treasure of instruments accessible resembling wc
, cat
, head
, reduce
, grep
, type
, uniq
, ssh
, date
, seq
, sure
, xargs
, discover
, awk
,tac
, paste
, diff
, tr
, rev
, curl
, wget
, man
, rsync
, tee
, much less
, and extra
?
You need to lastly perceive the variations between .bashrc
and .bash_profile
?
You need to be taught eleven (11!) methods to run a command?
You need to know the distinction between utilizing "
and '
?
You need to perceive the variations between a toddler shell and a sub-shell?
Glad Studying!