BASH

Ruby Details Snippets

Core

BASH (Bourne Again SHell): modern Unix / Linux based shell.

Unix: family of multitaskingmultiuser computer operating systems
Linux
: best-known and most-used Unix-like computer operating system.
Shelluser interface for access to an operating system‘s services.

BASH command:

Command example:

command: wc – count bytes, words, and lines in a file
options: -l – count lines  ; and -w – count words
arguments: file01, file02 – file names

Topics

Help:
$ help >  internally defined shell’s commands list
$ help {command} >  help on shell’s command
$ {command} --help – online help
$ wc --help > Usage: wc [OPTIONS] [FILES] …
man command – online manual page
$ man wc > wc – print newline, word, and byte counts for each file …

Most used BASH commands  (ss64):

aliasfindpstar
awkfreepwdtouch
cdgreprmtree
cpkillrmdirtype
curllssortuniq
dfmansshwc
diffmkdirstatwhereis
dumvsudowhich

Appendix

Useful links

Learn

(a) tutorials: ryanstutorials   surrey   linuxconfig – beginners   osc
(b) ebooks: conquercommandline.com   GNU BASH Manual   bedangerous
(c) exercises /exam:

Practice

(a) documents:
(b) tools:
(c) best practice: howtouse

References

ss64   ComputerHope   codecademy

Examples

BASH

Selected Books

author, title, edition, pages, publisher, ISBN, Amazon: price, evaluation / reviewes, record date

  1. Robbins. A.: Bash Pocket Reference: Help for Power Users and Sys Admins, 2nd. 156. O’Reilly Media, 2016. 1491941596. $11.99. 4.4 / 61. 2018 05 25.
  2. Barrett. D. J.: Linux Pocket Guide: Essential Commands, 3rd. 274. O’Reilly Media, 2016. 1491927577. $12.27. 4.5 / 130. 2018 05 25.
  3. Negus C.: Linux Bible, 9th. 912. Wiley, 2015. 1118999878. $29.27. 4.5 / 216. 2018 05 25.
  4. Shotts W. E. Jr.: The Linux Command Line: A Complete Introduction, 1st. 480. No Starch Press, 2012. 1593273894. $31.99. 4,7 / 254. 2018 05 25.
  5. Blum R., Bresnahan C.: Linux Command Line and Shell Scripting Bible, 3rd. 816. Wiley 2015. 111898384X. $20.32. 4.6 / 74. 2018 05 25.
  6. Ward B.: How Linux Works: What Every Superuser Should Know, 2nd. 392. No Starch Press, 2014. 1593275676. $22.85. 4.7 / 190. 2018 05 25.
  7. Newham C.: Learning the bash Shell: Unix Shell Programming, 3rd. 354. O’Reilly Media, 2005. 0596009658. $17.07. 4,2 / 61. 2018 05 25.
  8. Nemeth E., Snyder G., Hein T. R., Whaley B.: UNIX and Linux System Administration Handbook, 4th. 1344. Prentice Hall, 2010. 0131480057. $24.23. 4.6 / 155. 2018 05 25.
  9. Albing C., Vossen J. P.: bash Cookbook: Solutions and Examples for bash Users, 2nd. 726. O’Reilly Media, 2017. 1491975334. $47.28. – / -. 2018 05 25.
  10. Cannon J.: Command Line Kung Fu: Bash Scripting Tricks, Linux Shell Programming Tips, and Bash One-liners. 124. CreateSpace Independent Publishing Platform, 2014. 1499222033. $9.99. 4.5 / 63. 2018 05 25.

Ruby Details Snippets