Introduction to Linux commands and Shell scripting
- Linux curated resources for more complete resources list, including tutorials for beginners
- For more related resources, visit scripting course and my programming blog https://learnbyexample.github.io
- Linux Introduction
- What is Linux?, Why use Linux?, Where is Linux deployed?, Linux Distros, Linux resource lists
- Command Line Introduction
- File System, Command Line Interface, Command Help, Do one thing and do it well
- Files and Directories
- pwd, clear, ls, cd, mkdir, touch, rm, cp, mv, rename, ln, tar and gzip
- Working with Files and Directories
- cat, less, tail, head, Text Editors, grep, find, locate, wc, du, df, touch, file, identify, basename, dirname, chmod
- Text Processing
- sort, uniq, comm, cmp, diff, tr, sed, awk, perl, cut, paste, column, pr
- Shell
- What is Shell?, Popular Shells, Wildcards, Redirection, Process Control, Running jobs in background
- Shell Customization
- Variables, Config files, Emac mode Readline shortcuts
- Shell Scripting
- Need for scripting, Hello script, Command Line Arguments, Variables and Comparisons, Accepting User Input interactively, if then else, for loop, while loop, Debugging, Resource lists
- Please open an issue for typos/bugs/suggestions/etc
- Even for pull requests, open an issue for discussion before submitting PRs
- or gitter group chat for discussion as well as for help/mentorship
- Share the repo with friends/colleagues, on social media, etc to help reach other learners
- In case you need to reach me, use gitter private chat
- or mail me at
echo 'bGVhcm5ieWV4YW1wbGUubmV0QGdtYWlsLmNvbQo=' | base64 --decode
- or mail me at
- unix.stackexchange and stackoverflow - for getting answers to pertinent questions as well as sharpening skills by understanding and answering questions
- Devs and Hackers - helpful slack group
- Forums like /r/commandline/, Weekly Coders, Hackers & All Tech related thread - for suggestions and critique
This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License