Info
All eyes for OS with Linux, Windows and moreover. Practice and learn new thing π€π€π€
Handheld notebook
Cheatsheet
- SS64: Command line reference π (Recommended)
- Nano cheatsheet : Overview of nanoβs shortcuts π (Recommended)
- Cheatsheet.wtf : Bash Cheatsheet
- Linux Command Library: 1M+ downloads Linux reference app with basics, tips and formatted man pages π (Recommended)
- Vim cheatsheet: Vim Cheat Sheet π (Recommended)
- Tmux cheatsheet: Tmux Cheat Sheet & Quick Reference π (Recommended)
- golinuxcloud: the linux cheatsheet
- Bash Conditional Statement Operators Cheat Sheet - Kapeli
- GitHub - tmux shortcuts & cheatsheet π (Recommended)
- GitHub - how-to-tmux-background-process.md
General
- NTU Edu - Environment Variables in Windows/macOS/Linux PATH, CLASSPATH, JAVA_HOME
- Linux Hint: Linux contents and command to resolve your problems
- DistroWatch.com: Put the fun back into computing. Use Linux, BSD.
- Server World - Build Network Server
- Linux Journal
Manual
- Manned.org : The archive for man pages π (Recommended)
- Linux - Man Page: Manual page for Linux OS π (Recommended)
- Packages for Linux and Unix : Find and retrieve the official package base on your os, linux or unix, fix your case when missing or dependencies package
Tools
- tldr pages : Simplified and community-driven man pages
- Bash Senpai : Prompt to get command for suitable situations
- cheat.sh: the only cheat sheet you need . Website
Linux
Articles
- Medium - Advanced Bash Scripting: Part 1 π₯
- Medium - Advanced Bash Scripting: Part 2 π₯
- Medium - Advanced Bash Scripting: Part 3 π₯
- Medium - BASH/Linux Interview Question for DevOps Engineers
- Medium - Creating a Linux service with systemd or How to create a systemd service in Linux
- Medium - 10 Troubleshooting Commands for Linux Systems
- Medium - Essential Linux Terminal Hacks for Efficiency
- Medium - Essential Linux Terminal Hacks for efficiencyβββPart 2
- Tecmint - 10 Commands to Collect System and Hardware Info in Linux
- Medium - 6 Ways to Check Remote Port Status in Linux: Highlighting Two New Approaches
- Medium - Top Linux Security Best Practices for DevSecOps Engineers
Awesome Repositories
- Bash-Oneliner: A collection of handy Bash One-Liners and terminal tricks for data processing and Linux system maintenance.
Documentations
- Systemd: System and Service Manager
- Mendel Cooper - Advanced Bash-Scripting Guide: An in-depth exploration of the art of shell scripting
- The Linux Kernel documentation: the top level of the kernelβs documentation tree
- Linux Shell Scripting Tutorial - Bash Linux Shell Scripting Wiki
- NVIDIA CUDA Installation Guide for Linux
- Curl documentation: an extensive guide for all things curl
Window
Articles
- The $Windows.~BT Folder: What It Is and How to Delete It
- PowerShell Aliases: A Beginnerβs Guide
- PowerShell Commands: 50+ Every Developer Should Know
- The Most Helpful PowerShell Cheat Sheet Youβll Ever Find
- Windows Centrals - How to use shutdown command tool on Windows 10
Awesome Repositories
- Awesome Windows : π» π An awesome & curated list of best applications and tools for Windows.
- PowerShell Scripts Collection : 500+ PowerShell scripts (.ps1) for every system!
- PowerShell-collection: PowerShell Scripts, Tools, and Modules
- nvm-windows: A node.js version management utility for Windows. Ironically written in Go.
- Microsoft-Activation-Scripts : A Windows and Office activator using HWID / Ohook / KMS38 / Online KMS activation methods, with a focus on open-source code and fewer antivirus detections. Website
Documentations
- Windows Server Security documentation: Official Documentation from Microsoft
- Powershell Documentation: Official Documentation from Microsoft
- Windows Commands Documentation: Official Documentation from Microsoft
- DISM Overview
- Working across Windows and Linux file systems
Cloud Packer
Info
The collections about provisioning script to build virtual machine in Cloud environment, e.g: Azure, AWS by Packer
Windows Server 2019
The packer script which provide and implementation the windows server in Azure Cloud, access via winrm
and self configuration for powershell
script
More information about Packer:
You can took the script to put on provisioner
in Build Azure Agent with .NET Core by Powershell
packer {
required_plugins {
azure = {
source = "github.com/hashicorp/azure"
version = "~> 1"
}
}
}
variable "os_type" {
type = string
description = "Type of VM to be used for Provisioning Image"
default = "Windows"
}
variable "image_publisher" {
type = string
description = "Which Image Publisher to use for provisioning Image"
default = "MicrosoftWindowsServer"
}
variable "image_offer" {
type = string
description = "Which Image Offer to use for Provisioning Image"
default = "WindowsServer"
}
variable "image_sku" {
type = string
description = "Which Image SKU to use for provisioning Image"
default = "2019-Datacenter"
}
variable "image_version" {
type = string
description = "Which Image Version to use for provisioning Image"
default = "latest"
}
variable "managed_image_name" {
type = string
description = "Name of the image"
}
variable "managed_image_resource_group_name" {
type = string
description = "Resource Group Which stores the image"
}
variable "location" {
type = string
description = "Location of the image"
}
variable "vm_size" {
type = string
description = "Size of the VM using for provisioning Image"
default = "Standard_B2ms"
}
variable "azure_tags" {
type = map(string)
description = "Tags of image"
default = {
managed = "packer"
environment = "dev"
}
}
variable "communicator" {
type = string
description = "Which Communication Type to use for connection into VM"
default = "winrm"
}
variable "winrm_configuration" {
type = object({
winrm_insecure = bool
winrm_timeout = string
winrm_use_ssl = bool
winrm_username = string
})
description = "Configuration for winrm to use"
default = {
winrm_insecure = true
winrm_timeout = "5m"
winrm_use_ssl = true
winrm_username = "infrauser"
}
}
variable "url_org" {
type = string
description = "URL of organization where give access for pool"
sensitive = true
}
variable "auth_type" {
type = string
description = "authentication type for pool"
default = "pat"
}
variable "azure_pat" {
type = string
description = "Azure PAT"
sensitive = true
}
variable "pool_name" {
type = string
description = "Name of agent pool"
}
variable "workdir" {
type = string
description = "work directory for pool"
default = "C:\\agent\\"
}
variable "agent_name" {
type = string
description = "Name of agent"
}
locals {
script_content = "${templatefile("${abspath(path.root)}/data/setup-automation-agent.tpl", {
url = var.url_org,
auth = var.auth_type,
token = var.azure_pat,
pool = var.pool_name,
agent = var.agent_name,
workdir = var.workdir
})}"
}
source "azure-arm" "windows-machine" {
use_azure_cli_auth = true
os_type = var.os_type
image_publisher = var.image_publisher
image_offer = var.image_offer
image_sku = var.image_sku
image_version = var.image_version
managed_image_name = var.managed_image_name
managed_image_resource_group_name = var.managed_image_resource_group_name
location = var.location
vm_size = var.vm_size
azure_tags = var.azure_tags
communicator = var.communicator
winrm_insecure = var.winrm_configuration.winrm_insecure
winrm_timeout = var.winrm_configuration.winrm_timeout
winrm_use_ssl = var.winrm_configuration.winrm_use_ssl
winrm_username = var.winrm_configuration.winrm_username
}
build {
sources = ["sources.azure-arm.windows-machine"]
provisioner "powershell" {
inline = [local.script_content]
}
}