in root.html). Outputs custom og:image with assets_prefix normalisation and non-Google site verification. --> Shell and the CLI | IT-Journey in _layouts/root.html. What this file adds: - Custom og:image with preview_images.assets_prefix path normalisation for the theme-specific page.preview and page.header.og_image keys. When page.image is set, jekyll-seo-tag handles og:image and this file skips its own og:image output to avoid duplicate tags. - Non-Google site verification tags (Bing, Yandex, Naver, Baidu) Dependencies: - jekyll-seo-tag plugin (loaded in _layouts/root.html via Shell and the CLI | IT-Journey ) - site.preview_images config in _config.yml =================================================================== --> Shell and the CLI | IT-Journey Skip to main content
Settings
Search
Appearance
Theme Mode
About
Jekyll v3.10.0
Environment Production
Last Build
2026-04-11 02:52 UTC
Current Environment Production
Build Time Apr 11, 02:52
Jekyll v3.10.0
Build env (JEKYLL_ENV) production
Quick Links
Page Location
Page Info
Layout default
Collection notes
Path _notes/cheetsheets/Shell and the CLI.md
URL /notes/cheetsheets/Shell%20and%20the%20CLI/shell-and-the-cli/
Date 2021-11-06
Theme Skin
SVG Backgrounds
Layer Opacity
0.6
0.04
0.08

Shell and the CLI

By Amr

Estimated reading time: 0 minutes

Table of Contents

Command Line

bash

echo "hello world"
cd ~

powershell

operators

sub-expression

write-host "hello world"
"Today is $(Get-Date)"

Today is 12/02/2019 13:15:20

github cli

To create a clone of your fork, use the –clone flag.

# set the destination folder
gh_repo_dest="searchdocs"

# set the repo to fork
gh_repo="algolia/docsearch"

# change to the home directory

cd ~
mkdir github
cd github
gh repo fork $gh_repo --clone=true --fork-name $gh_repo_dest

wmic /output:C:\Temp\list.txt product get name, version exit


Set-ExecutionPolicy Unrestricted -Scope CurrentUser -Force

Install-Script -Name Get-RemoteProgram

cd ~\OneDrive\dev\os\win

Export-StartLayout -UseDesktopApplicationID -Path layout.xml