.bashrc for Windows 10 BASH - (will work with all UNIX-like systems - check paths, especially to executables)

#   . ~/.bashrc: executed by bash(1) for non-login shells.
#  adjusted for Win10 BASH - 19 July 2017 - will work in all Unix-like shells
# set Path, Prompt, Permissions, History, Editor, Alias, Shell options and Functions
#======================================================================================
#
export PATH=$PATH:/sbin/:/usr/sbin:/usr/local/sbin:/etc:~/bin:~:.
#======================================================================================
# W10 BASH DEFAULT=($PATH): /usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games
#======================================================================================
#
export PS1="
------------------------------------------------
$(whoami)@`hostname` [\$PWD]
------------------------------------------------
--> "
#======================================================================================
#
umask 022   
#             umask 022 sets new files: 644 & dirs: 755 
#======================================================================================
#
if [ ! -d ~/.History ]                 # tests for directory, if not, then...
  then
  /bin/mkdir  ~/.History 
  /bin/echo "history directory made"
fi   
# 
HISTFILE="~/.History/`/bin/date '+%Y_%b_%d_%H:%M'.history`" ; export HISTFILE
HISTSIZE=2048; export HISTSIZE
#======================================================================================
#
EDITOR=/usr/bin/vi; export EDITOR
VISUAL=/usr/bin/vi; export VISUAL
#
set -o vi
#======================================================================================
#
alias l="/bin/ls -al"
alias ll="/bin/ls -l"
alias lm="/bin/ls -l | more"
alias md="/bin/mkdir -p"
alias mv="/bin/mv -i"
alias cp="/bin/cp -i"
alias rm="rm -i"
alias mroe=more                               # add any other words you mistype often
alias dfh='/bin/df -h | /usr/bin/grep disk'   # modify to show primary file systems
alias vi="/usr/bin/vim"
#======================================================================================
#
shopt -s histverify
shopt -s checkwinsize
#======================================================================================
#
function dir-mkcd () { mkdir -p "$@" && eval cd "\"\$$#\""; }
#  creates a directory structure and changes to the lowest level
#######################################################################################
#  .exrc settings:
# set tabstop=4 shiftwidth=4 expandtab
# syntax off
# set ruler
#######################################################################################


Simply Linux: Basics Linux Tackles Microsoft Using BASH on Windows 10
Practical Suggestions for Microsoft Windows
 Full Size Jeep Buyer's Guide
12 hour Video Course by john:
The Art of Linux System Administration
published by O'Reilly Media
Study Guide for the LPIC-2 Certification Exams
search for:
on the internet, or:
JohnMeister.com-fotos
LinuxMeister-Linux
BibleTech- Bible overview

overview of mankind's history
Biblical history:
"Promises and Prophets"

Wagoneers

FULL SIZE JEEPS

JeepMeister
"Jeep is America's
only real sports car."
-Enzo Ferrari


MeisterTech
Diesels +

One Page Overview of Linux Commands

click for an image of the 5 essential Linux commands

An Intro to Linux
AMSOIL product guide,
or, AMSOIL web, or 1-800-956-5695,
use customer #283461

Amsoil dealer since 1983
purchase AMSOIL
at Midway Auto on SR9 in Snohomish,
or at Northland Diesel in Bellingham, WA


SJ - 1962-1991

XJ - 1984-2001

WJ - 1999-2004

KJ - 2002-2007

WK - 2005-2010

Find the recommended
AMSOIL synthetics
for your Jeep

CJ-10A - 1984-1986

Jeepsters

MJ - 1984-1992

Willys - 1946-1965

Other Jeeps (FC)