Let's Use Bash on Windows 10! The Lite version
()
About this ebook
BASH is available now in the current 64 bit versions of Microsoft Windows 10. This developer feature in Microsoft Windows 10 makes interoperability a reality! System Administrators, web designers, software developers, engineers, and power users from all platforms will find tools that will make their tasks more enjoyable. Examples of real world use of various scripts are included in the Appendix. Used the commands commonly used in introductory Linux classes to demonstrate how the BASH shell works in Windows 10.
John E. Meister, Jr
John Meister is a retired technical specialist and instructor, a Jack of all Trades, master of some.Interests include Biblical prophecy, photography, kayaking (flat water), Linux, and road trips, preferably in a Diesel Jeep.Over his career John has taught: electronics theory, design, troubleshooting and repair; microprocessors and assembly language programming; computer programming and science; systems analysis and design; operating systems (UNIX, Linux, Microsoft, etc.); shell scripting and the vi editor ; web design and HTML; technical writing and career planning; automotive maintenance and repair; and an overview of the Bible.John has held positions in a variety of corporations and industries as a System Administrator, systems analyst, circuit designer, equipment engineer, technical instructor, computer lab manager, adjunct faculty, electronics technician, mechanic, salesman, photographer and technical lead. Some of those companies were: Intel, O'Reilly Media, Boeing Electronics, Boeing Computer Services, Boeing Commercial Airplanes, ITT Tech, AT&T, Western Wireless, T-Mobile, Cingular, Merck, Intermec, City University of Seattle, Georgia Military College, Everett Community College, Prosoft, Develop Intelligence, New Horizons and other training companies nationwide. John served in the US Army Signal Corps attaining the rank of E-6, Staff Sergeant, specialized in the repair, installation and service of secure voice and data encrypted communication systems, served 5 years in Germany, an then as a TSEC/KG-13A instructor at the Signal School at Fort Gordon.As an O'Reilly Media author John created the LPIC-2 Certification exam study video series, released July 2016 - http://shop.oreilly.com/product/0636920050209.doEducation includes:- MSTM - Embry Riddle Aeronautical University- BSc, AA - University of Maryland- AA - Central Texas College- US Army Signal School - 32F/32G/31S/31T- Western Seminary (MDiv CEd - no degree)- Cogswell College North (BSEE - no degree)- Cleveland Institute of Electronics (Advanced Electronics & Troubleshooting)Listed in: Who's Who in Science and Engineering; Who's Who in American Education; Who's Who in America; Who's Who of Emerging Leaders in America; Who's Who Among Young American Professionals; and, Who's Who in the West (since 1987).
Read more from John E. Meister, Jr
Simply Linux: Basics Rating: 5 out of 5 stars5/5Full Size Jeep Buyer's Guide Rating: 4 out of 5 stars4/5Let's Use BASH on Windows 10! Rating: 0 out of 5 stars0 ratingsBible Basics Rating: 0 out of 5 stars0 ratingsPractical Suggestions For Microsoft Windows Rating: 3 out of 5 stars3/5Linux Tackles Microsoft: Discover The Superior Performance And Power Savings of Linux Vs. Microsoft Rating: 0 out of 5 stars0 ratingsMac and Jack: The Tails of Two Kitties, as Told by Snapshots Rating: 0 out of 5 stars0 ratings
Related to Let's Use Bash on Windows 10! The Lite version
Related ebooks
Practical Linux Security Cookbook Rating: 0 out of 5 stars0 ratingsLearning Puppet for Windows Server Rating: 0 out of 5 stars0 ratingsLearning ParrotOS: Kickstart simple pentesting and ethical hacking techniques using cybersecurity operating system Rating: 0 out of 5 stars0 ratingsUnix / Linux FAQ: with Tips to Face Interviews Rating: 0 out of 5 stars0 ratingsLinux Shell Scripting Cookbook, Second Edition Rating: 0 out of 5 stars0 ratingsKali Linux for Beginners: A Step-by-Step Guide to Learn the Basics of Hacking and Security Testing Rating: 0 out of 5 stars0 ratingsEasy Linux For Beginners Rating: 2 out of 5 stars2/5Work with the Command-line: To Manage Files and Directories in Ubuntu Rating: 5 out of 5 stars5/5Linux for Beginners: How to Master the Linux Operating System and Command Line form Scratch Rating: 0 out of 5 stars0 ratingsMore Debian 8 for Beginners Rating: 0 out of 5 stars0 ratingsSELinux Cookbook Rating: 0 out of 5 stars0 ratingsLINUX FOR NOVICES: A Beginner's Guide to Mastering the Linux Operating System (2023) Rating: 0 out of 5 stars0 ratingsLinux Kernel Programming: A comprehensive and practical guide to kernel internals, writing modules, and kernel synchronization Rating: 0 out of 5 stars0 ratingsCentOS: The Commercial Grade Linux Desktop Rating: 0 out of 5 stars0 ratingsI am Linux : Being A Ultra Linux User Rating: 0 out of 5 stars0 ratingsMAC OS X UNIX Toolbox: 1000+ Commands for the Mac OS X Rating: 0 out of 5 stars0 ratingsLinux Shell Scripting: From Basics to Expert Proficiency Rating: 0 out of 5 stars0 ratingsRHCSA Exam Pass: Red Hat Certified System Administrator Study Guide Rating: 0 out of 5 stars0 ratingsMastering Linux System Administration Rating: 0 out of 5 stars0 ratingsLinux Hacking 101: A Beginner’s Guide to Ethical Hacking with Linux and Kali Linux Rating: 0 out of 5 stars0 ratingsLearn Batch File Programming! Rating: 1 out of 5 stars1/5Working with Linux – Quick Hacks for the Command Line Rating: 5 out of 5 stars5/5Webmin Administrator's Cookbook Rating: 0 out of 5 stars0 ratingsLPIC-1 Primer Rating: 4 out of 5 stars4/5Linux Command Line and Shell Scripting Bible Rating: 3 out of 5 stars3/5Linux: A complete guide to Linux command line for beginners, and how to get started with the Linux operating system! Rating: 0 out of 5 stars0 ratingsLinux Interview Questions: Open Source Operating Systems Interview Questions, Answers, and Explanations Rating: 5 out of 5 stars5/5Most used commands in Linux and Unix Rating: 0 out of 5 stars0 ratings
Computers For You
Elon Musk Rating: 4 out of 5 stars4/5The Self-Taught Computer Scientist: The Beginner's Guide to Data Structures & Algorithms Rating: 0 out of 5 stars0 ratingsCreating Online Courses with ChatGPT | A Step-by-Step Guide with Prompt Templates Rating: 4 out of 5 stars4/5Mastering ChatGPT: 21 Prompts Templates for Effortless Writing Rating: 4 out of 5 stars4/5CompTIA Security+ Get Certified Get Ahead: SY0-701 Study Guide Rating: 5 out of 5 stars5/5The ChatGPT Millionaire Handbook: Make Money Online With the Power of AI Technology Rating: 4 out of 5 stars4/5Computer Science I Essentials Rating: 5 out of 5 stars5/5Data Analytics for Beginners: Introduction to Data Analytics Rating: 4 out of 5 stars4/5Storytelling with Data: Let's Practice! Rating: 4 out of 5 stars4/5CompTIA IT Fundamentals (ITF+) Study Guide: Exam FC0-U61 Rating: 0 out of 5 stars0 ratingsGet Into UX: A foolproof guide to getting your first user experience job Rating: 4 out of 5 stars4/5Deep Search: How to Explore the Internet More Effectively Rating: 5 out of 5 stars5/5SQL QuickStart Guide: The Simplified Beginner's Guide to Managing, Analyzing, and Manipulating Data With SQL Rating: 4 out of 5 stars4/5The Innovators: How a Group of Hackers, Geniuses, and Geeks Created the Digital Revolution Rating: 4 out of 5 stars4/5UX/UI Design Playbook Rating: 4 out of 5 stars4/5Procreate for Beginners: Introduction to Procreate for Drawing and Illustrating on the iPad Rating: 5 out of 5 stars5/5Mindhacker: 60 Tips, Tricks, and Games to Take Your Mind to the Next Level Rating: 4 out of 5 stars4/5Becoming a Data Head: How to Think, Speak, and Understand Data Science, Statistics, and Machine Learning Rating: 5 out of 5 stars5/5Microsoft Azure For Dummies Rating: 0 out of 5 stars0 ratingsCompTia Security 701: Fundamentals of Security Rating: 0 out of 5 stars0 ratingsThe Professional Voiceover Handbook: Voiceover training, #1 Rating: 5 out of 5 stars5/5A Quickstart Guide To Becoming A ChatGPT Millionaire: The ChatGPT Book For Beginners (Lazy Money Series®) Rating: 4 out of 5 stars4/5ITIL® 4 Essentials: Your essential guide for the ITIL 4 Foundation exam and beyond Rating: 5 out of 5 stars5/5Fundamentals of Programming: Using Python Rating: 5 out of 5 stars5/5
Reviews for Let's Use Bash on Windows 10! The Lite version
0 ratings0 reviews
Book preview
Let's Use Bash on Windows 10! The Lite version - John E. Meister, Jr
Let's Use Bash on Windows 10! The Lite version
By John Meister.
Let's Use Bash on Windows 10! The Lite version.
Copyright 2021 John Meister
ISBN: 9781370047062
Published by John Meister at Smashwords
Smashwords Edition License Notes
This ebook is licensed for your personal enjoyment only. This ebook may not be re-sold or given away to other people. If you would like to share this book with another person, please purchase an additional copy for each recipient. If you’re reading this book and did not purchase it, or it was not purchased for your enjoyment only, then please return to Smashwords.com or your favorite retailer and purchase your own copy. Thank you for respecting the hard work of this author.
Table of Contents
Introduction to BASH on Windows 10
Setting up BASH on Win10
How to Configure the BASH window
Chapter 1_Linux_Overview
Chapter 2_the_5_essential_commands
Chapter 3_the_vi_Editor
Chapter 4_shell_config_History_script
Chapter 5_File_Management:_cp_mv_rm
Chapter 6_Files, Processes and Special Characters
Chapter 7_Regular_Expressions_and_Filters
Appendix: The LINUX Philosophy
Appendix: Exercise #1 - the 5 basic commands
Appendix: Additional info on BASH
Appendix: Additional info from Chapter 2
Appendix: SCRIPT: fix filenames
Appendix: REAL WORLD LINUX COMMANDS
Other Books by this Author
Connect with John Meister
Introduction to BASH on Windows 10, the Lite version
Let's use BASH on Windows 10! This book introduces Microsoft users to a powerful and useful tool, the command line of Linux in a BASH shell. This book addresses the Bourne-Again SHell.
BASH is a rich set of command line tools that provide a wide array of powerful commands and features found in most Linux (and UNIX) systems. What is learned here can be applied to other UNIX-like systems, so this is a set of tools that provides interoperability and is transferable; it is NOT proprietary or limited in scope.
BASH is COMMAND LINE only and not a GUI (Graphical User Interface). Brian Kernighan, one of the developers of UNIX, said it best about GUI: What You See Is All You Get
(WYSIAYG), a sarcastic variant of the original "What You See Is What You Get" (WYSIWYG).
The truth is that CLI (command line interface) provides far more options than can be presented visually through pictures, ribbons or menus. The CLI provides a rich set of features that allows someone to solve unique problems in creative ways.
GUI interfaces simply can not provide all of the options for commands, which is what Kernighan was pointing out. Brian Wilson Kernighan (born 1942) contributed to UNIX along with Ken Thompson and Dennis Ritchie, he is the K
in K&R C and AWK. There is more information in the wiki about him linked here.
This book provides a few step by step details, screen shots and practical examples of Ubuntu's BASH on Win10 (Windows 10). These examples will also work on any Linux, Mac OS X or other UNIX-like system. The full version of this book is also available as an e-book and has more exercises and details and would be a useful tutorial for learning Linux on a Microsoft system before migrating to a full Linux system.
The Ubuntu BASH feature is not a full implementation of Linux, it is COMMAND LINE ONLY. It is not a virtual machine or a container, neither is it a compiled application like cygwin
, it is native Ubuntu Linux BASH binaries running in Windows. Simply put, you can do things in Microsoft you could never do before.
This means you can sort large files and search (grep) for words quickly and even redirect the results into a completely new file any where on your computer, or even across the network. You can develop a web page in the vi editor quickly with great ease! (once you learn vi.)
Once you become familiar with the tools in BASH you will be able to move across platforms and manage files faster and with fewer distractions. In time you will want to avoid the "clicking and drooling" associated with the GUI and will seek out the shell! You will also be able to amaze and impress friends as you demonstrate your new founds skills that also work on Linux and Mac!
The author has developed and released other material on Linux that may be found through O'Reilly Media and Smashwords.com, available on line and also on DVD, search for John Meister, the Study Guide for LPIC-2, or this reference number: ASIN: B01I25VO9A. The author has e-books on Linux, Windows and other topics available through a variety of sources see e-books by John Meister.
Appendix also shows how to set the colors and features. Chapter 4 discusses the configuration of your .bashrc
file. I'd recommend that you create your .bashrc file immediately along with the .History
directory. These two features will make navigation in BASH more practical.
Step by step examples are provided to show how the commands work, or what their limitations are in this environment, if any. The learning curve on some of these tools can be very steep, but seeing examples will open up a new world to you, and save you many hours of working with information in text files.
You do not need to master every aspect of BASH to use it. In fact, feel free to jump around in this book. If you see something being described and couldn't care less about it, skim on and look for something you like. If you find out later it was interesting, go back and dig in further. I'm following an approach to this material that has been developed over many years of teaching UNIX and Linux classes. People learn in different ways, and none of us needs to know everything about this subject, so if you don't get it, don't worry, move on and if you find later you need it, then learn it. Hack