Powershell and Bash

Last Updated
September 7, 2026

Some basic tips and rules for navigating Windows and Linux with powershell and bash. This was made for my own personal use and does assume that any reader is pretty familiar with bash commands and mainly interested in learning how to transfer these same skills to navigating a Windows system via powershell.

Powershell eccentricitys

Escape Characters

  1. In Linux \ is the escape character.
    mkdir My\ Folder
  2. Windows in it's normal weird fashion uses a backtick `
    mkdir My` Folder
cp *.jpg ~/Dowloads/

# Copies all jpegs from working directory to ~/Downloads

Linux stuff

ls -l broken down

permissions # of links file owner group size date of modification Name
drwxr-xr-x 2 makc makc 3 Sep 3 19:00 Desktop
drwxr-xr-x 13 makc makc 14 Sep 6 17:49 Documents
drwxr-xr-x 4 makc makc 5 Sep 6 21:22 Downloads

Viewing Files

Grep and His Powerful Friends

Way better than the powershell set-up (or at least less weird). Some examples follow: