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-12 00:23 UTC
Current Environment Production
Build Time Apr 12, 00:23
Jekyll v3.10.0
Build env (JEKYLL_ENV) production
Quick Links
Page Location
Page Info
Layout default
Collection notes
Path _notes/cheetsheets/command-line.md
URL /notes/shell
Date 2021-11-06
Theme Skin
SVG Backgrounds
Layer Opacity
0.6
0.04
0.08

Shell and the CLI

By Amr

Command Line Interface Notes

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.

$gh_repo = "bamr87/it-journey"
gh repo fork $gh_repo --clone=true

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