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/5Let's Use BASH on Windows 10! Rating: 0 out of 5 stars0 ratingsFull Size Jeep Buyer's Guide Rating: 4 out of 5 stars4/5Practical 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 ratingsBible Basics Rating: 0 out of 5 stars0 ratings
Related to Let's Use Bash on Windows 10! The Lite version
Related ebooks
Learning Puppet for Windows Server Rating: 0 out of 5 stars0 ratingsEasy Linux For Beginners Rating: 2 out of 5 stars2/5Unix / Linux FAQ: with Tips to Face Interviews Rating: 0 out of 5 stars0 ratingsCentOS: The Commercial Grade Linux Desktop Rating: 0 out of 5 stars0 ratingsMAC OS X UNIX Toolbox: 1000+ Commands for the Mac OS X Rating: 0 out of 5 stars0 ratingsConfiguration of a Simple Samba File Server, Quota and Schedule Backup Rating: 0 out of 5 stars0 ratingsLinux For Beginners: The Comprehensive Guide To Learning Linux Operating System And Mastering Linux Command Line Like A Pro 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 ratingsLinux Install or Dual Boot Rating: 0 out of 5 stars0 ratingsWork with the Command-line: To Manage Files and Directories in Ubuntu Rating: 5 out of 5 stars5/5Practical Linux Security Cookbook Rating: 0 out of 5 stars0 ratingsLinux: 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 Shell Scripting Cookbook, Second Edition Rating: 0 out of 5 stars0 ratingsShell Scripting: Expert Recipes for Linux, Bash, and more 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 ratingsMastering Linux System Administration Rating: 0 out of 5 stars0 ratingsLearn Batch File Programming! Rating: 1 out of 5 stars1/5Going Text: Mastering the Command Line Rating: 4 out of 5 stars4/5I am Linux : Being A Ultra Linux User Rating: 0 out of 5 stars0 ratingsRed Hat Enterprise Linux Server Cookbook Rating: 2 out of 5 stars2/5Mastering PowerShell Scripting: From Basics to Expert Proficiency Rating: 0 out of 5 stars0 ratingsBash Shell Scripting for Pentesters: Master the art of command-line exploitation and enhance your penetration testing workflows Rating: 0 out of 5 stars0 ratingsRedHat Enterprise Linux 9 for Beginners: A comprehensive guide for learning, administration, and deployment (English Edition) Rating: 0 out of 5 stars0 ratingsCentOS 7 Server Deployment Cookbook Rating: 0 out of 5 stars0 ratingsSELinux Cookbook Rating: 0 out of 5 stars0 ratingsLinux Interview Questions: Open Source Operating Systems Interview Questions, Answers, and Explanations Rating: 5 out of 5 stars5/5Living With Linux In the Industrial World Rating: 0 out of 5 stars0 ratingsDetained Rating: 0 out of 5 stars0 ratings
Computers For You
Elon Musk Rating: 4 out of 5 stars4/5Slenderman: Online Obsession, Mental Illness, and the Violent Crime of Two Midwestern Girls Rating: 4 out of 5 stars4/5SQL QuickStart Guide: The Simplified Beginner's Guide to Managing, Analyzing, and Manipulating Data With SQL 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/5Deep Search: How to Explore the Internet More Effectively Rating: 5 out of 5 stars5/5The Technological Republic: Hard Power, Soft Belief, and the Future of the West Rating: 0 out of 5 stars0 ratingsThe Professional Voiceover Handbook: Voiceover training, #1 Rating: 5 out of 5 stars5/5CompTIA IT Fundamentals (ITF+) Study Guide: Exam FC0-U61 Rating: 0 out of 5 stars0 ratingsThe Self-Taught Computer Scientist: The Beginner's Guide to Data Structures & Algorithms Rating: 0 out of 5 stars0 ratingsMastering ChatGPT: 21 Prompts Templates for Effortless Writing Rating: 4 out of 5 stars4/5Alan Turing: The Enigma: The Book That Inspired the Film The Imitation Game - Updated Edition Rating: 4 out of 5 stars4/5Everybody Lies: Big Data, New Data, and What the Internet Can Tell Us About Who We Really Are Rating: 4 out of 5 stars4/5Standard Deviations: Flawed Assumptions, Tortured Data, and Other Ways to Lie with Statistics 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/5Tor and the Dark Art of Anonymity Rating: 5 out of 5 stars5/5Computer Science I Essentials Rating: 5 out of 5 stars5/5Quantum Computing For Dummies Rating: 3 out of 5 stars3/5An Ultimate Guide to Kali Linux for Beginners Rating: 3 out of 5 stars3/5The Hacker Crackdown: Law and Disorder on the Electronic Frontier Rating: 4 out of 5 stars4/5Technical Writing For Dummies Rating: 0 out of 5 stars0 ratings
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