Cheatsheet
CtrlK
  • /
  • Linux
    • Redhat (moved)
      • NTP
      • firewall-cmd CentOS 7
      • rpm list installed
      • rhel: list installed repos
      • timezone and ntp check
      • Save iptables
      • show installed packages
      • linux:redhat:rpm search
      • yum provides
    • Ubuntu
      • Hibernate Ubuntu 18.04
      • How to disable Alt-Arrow switching of Virtual Consoles
      • change legacy to uefi
      • Fix bluetooth
      • Install docker ubuntu
      • WiFi Adapter Problems
      • Lid close suspend
      • Android file transfer
      • Switch keyboard in Mint
      • SWAP
    • 1. Starship shell
    • ACL
    • Automount
    • Add user to a group
    • Bash (moved)
      • bash: split words into line
      • Example
    • Create user
    • Cron
    • Env variables
    • Exam
    • Compare two bin files
    • cURL
      • websocket
    • Current Directory Size
    • Debug bash script
    • Disk IO
    • linux: find
    • Firefox
    • FreeIPA
      • Explanation
      • Integration with AD
      • Difference between FreeIPA and IdM
      • ssh connection issues
      • sudo
      • Set password expire date
      • ipa-cli
      • ipa commands
      • Kerberos debug
      • IPA HA cluster
    • Grep (OR) (moved)
      • grep: exclude lines
      • grep in loop
      • grep Several rows
    • How to check the listening ports and applications
    • Check public IP from terminal cli
    • immutable files
    • Add to PATH
    • linux: list groups and users
    • LVM disk extend into VM
    • Mount NTFS
    • nmcli
    • nmap
    • linux: Basic Commands to Check Hardware and System Information
    • Check DNS with specific server
    • Expand free space in OS without reboot
    • Find biggest files
    • How to find folder or file by name
    • Install snap
    • Find and list the latest modified files
    • OpenConnect server
    • Powershell
    • PHP-FPM (moved)
      • PHP: modules/extensions/libs
      • php-fpm: Logs
    • lin:scp
    • Screenfetch utill
    • sed: replase value in config
    • linux: sort by RAM/memory
    • linux:ssh (moved)
      • linux: Enable SSH Agent Forwarding (moved)
    • Switch to another user
    • Terminal utilities
    • Tcpdump
    • linux: tree (moved)
    • linux: unpack tar acrhive
    • watch (repeat command every time period)
    • ZIP
  • Services
    • Dante
    • iptables
      • Iptables example
    • MongoDB
      • rs.status()
      • Restart MongoDB Replica Set
      • Login
      • quit()
    • firewalld not start
    • firewalld
    • Jenkins
      • Install Jenkins on CentOS 7
      • Huge logfile
      • Cleanup docker
      • Build & run docker
    • Docker
      • 1. Export Dockerfile from image
      • 2. Build an image and push it to a regisry
      • 3. Docker: Dockerfile build (verbose)
      • 4. Docker: Run container
      • Docker: m1 build problem amd64
      • Docker: Dockerfile
      • Distroless
      • Scan image for vulnerabilities
      • The best Docker base image for your Python application
      • Running a Cron Job in Docker Container (Ubuntu)
      • Container IP
      • Docker cheetsheet (old)
      • Other commands
      • Run CRON into container (moved)
      • change bridge ip subnet
      • Remove all <none> images after building (moved)
      • Delete all stopped containers
      • Kill all running containers
      • Install Docker & Docker Compose
    • Docker-compose
      • exec command
      • Cheetsheet (old)
      • MTProxy
    • Rabbit-MQ
      • Cluster issue
      • Check Cluster status
  • Automation
    • Ansible
      • Ansible cheetsheet (old)
      • Ansible tag
      • Dry run (plan)
      • Ansible: git
      • LVM
      • Run ansible from local machine
      • MacOS
      • Ansible: password special characters/symbols
      • Vault
    • Terraform
      • GCP provider
      • bash scripts
      • Login with GCP creds
      • Ubuntu Installation
      • Target
      • Troubleshoot Debug Terraform
      • Import Vm Config with Terraform
    • Gitlab
      • gitlab: install runner
  • Tools
    • Git
      • 1. Add new git repository
      • 2. Small edit commit
      • 3. Squashing several commits into one
      • 4. Create a new branch from commit (from log)
      • 5. Change last commit message
      • 6. Rollback last commit
      • 7. Recover from git stash
      • 8. Delete merged local branches
      • 9. Git diff
      • 10. Checkout master in case of conflicts
      • Pull remote branch without merge
      • refusing to merge unrelated histories
      • Git cheetsheet (old)
      • Reset all commits and back to actual state
      • Switch branch error
      • Files would be overwritten by merge
      • Shows commits before pushing
      • Git flow
      • Git - Rename local branch
      • Restore deleted branch
      • Remove file from git but keep the file
      • Rollback unwanted commits
      • Merge
      • Rebase
      • Remove local branch
      • Remove sensitive data from git
      • Tag
      • Git useful commands
      • Secret: git-secret
      • How to show current git branch with colors in Bash prompt
      • git: clone repo with another user's key
      • Set email
    • "Hey" for load tests
    • nikto
    • vim
      • Clear highlighting
      • Cursor
      • Delete one word
      • Move code block
      • Set paste
      • Split
    • vscode (moved)
      • Transform to uppercase
      • change theme
  • Databases
    • MS-SQL
      • SSMS port range
      • SSMS - Switch AG
    • Redis
    • Postgres
      • Alter column type
  • Code
    • Java
      • Unpack java jar
      • Check java version
    • Telegram API
      • Send message to private group
  • Network Vendors
    • A10
    • Arista
      • Run Arista cEOS with docker
    • Mikrotik
      • Basic configuration
      • show inventory
      • Get link downs
      • show interfaces stats
      • lldp
    • Fortigate
      • ping/traceroute (CLI)
      • Debug
      • DPD
      • Add Address object via CLI
      • Link-monitor status
      • Show arp
      • Syslog
      • Add addresses and groups
    • Juniper
      • Show mac address table
      • Show interfaces status
      • Change interface description
      • show chassis hardware
      • SNMP config
  • vmware
    • Auto boot after PSOD
    • VMware SQL best practice
    • DBA guide to databases on vmware
    • VMware Autostart VMs
    • Vsphere From Linux CLI
    • Use VMXNET3 adapters (instead of E1000)
    • VMware Player
    • Delete VM
    • Install ESXi OS
    • Disks state through iDRAC
    • DRS
    • vCenter update
    • PowerCLI
      • Restart a service
      • Install PowerCLI
      • VM vmotion (move-vm)
      • Disk size script example
      • check statistics for nics in a whole cluster
    • virtual console through iDRAC
    • Download(upload) file to VCSA via SCP (ssh)
    • ESXi commands
      • Get SNMP settings
      • Check NIC status
      • ESXi version
  • Windows
    • WSUS
    • Create dummy file
    • Nslookup
    • Powershell
      • Check the installed updates
    • Updates
    • Find who store a space - WizTree
    • Active Directory
      • Check user status
      • Replication status
      • Check if GPO was applied
      • GPO update
      • Show all users with account date creation
  • Kubernetes
    • Examples
    • K alias
    • Helm (moved)
      • Build a template
      • Describe helm release
      • Error: Kubernetes cluster unreachable:
      • helm-docs
      • helm package
      • List installed
      • Restart helm release with flux
      • Uninstall
    • 2. Renew client certificates
    • 3. Build a new cluster
    • 4. Cluster upgrade
    • 5. Run busybox
    • 6. Port-forward
    • 7. Set default namespace in kubernetes
    • 8. Rename cluster context
    • 9. Restart a deployment
    • 10. Sort by cpu with label
    • 11. Delete namespace terminated
    • k8s: Architecture
    • Cert manager
      • Cert Debug
      • Tool to check cert
    • Check pods on a node
    • Creating and Deploying a GKE Cluster
    • Compare calico system interface with pod
    • Cheatsheet
    • CKA
      • etcd
      • Kubeadm
      • Netpol
      • Po - Deploy - svc examples
      • sa - cluster role - cluster role binding
      • Sidecar
      • Volumes
    • Create namespace
    • Delete service
    • EOF
    • Get all info about pods/services/labels/netpol etc
    • Get kubeconfig from master node (moved)
    • How to connect to a Cluster
    • Increase resources on K8s nodes
    • k8s: ingress example (minikube)
    • Init containers
    • IPVS load-balancing
    • K8s Infrastructure Design
    • Kubeconfig several files
    • Labels
      • show all labels
      • Filter by label
    • Minikube
      • minikube: fix storage-provisioner error
      • Pull image to minikube
    • Networking
      • TCP/TLS handshake
      • Ingress
      • Istio (moved)
        • istio: installation
        • istio in aws
          • ALB config
        • Check listeners
      • Metallb, voyager(haproxy) debug
      • How to find physical interface piped to the pod
    • k8s: Resources (cpu/ram) (moved)
    • k8s: k9s
    • Secrets
    • Shortcuts
    • Troubleshoot
      • Troubleshoot a cronjob
      • Fetch logs from pod
    • Test if sa have sufficient rights
    • CoreDNS
  • GCP
    • 1. CloudShell gcloud commands
    • Create GKE with Cloudshell
    • Viewing a list of available zones and regions
    • Connect to GKE cluster
    • Associate Cloud Engineer Exam
    • Big Data Flow
    • Build an image and push it to the registry
    • Cloud IAM
    • CDN Interconnect
    • Cloud DataLab
    • Cloud ML Engine
    • Create service account key
    • Cloud Solutions Architecture Reference
    • Dedicated Interconnect
    • GKE
    • Key and Keyring
    • Security services
    • Show all policies for VM
    • SSH to the instance with CloudShell
    • Startup script example
  • REST API
    • Cheetsheet API
  • Jira
    • Python API example
  • Kafka
    • Guide
    • Commands
  • CI/CD
    • Flux
      • Flux get all: Example
      • Kustomize
      • Logs
      • flux get kustomizations
      • Restart helm release
      • Flux suspend
      • Debug helm release
      • Manage Helm Releases
        • flux suspend helm-chart
    • Flux v1 (moved)
    • GitHub Actions
      • Deploying to Google Kubernetes Engine
  • Data Science
    • Hadoop
      • Zookeeper
    • ML
      • Pandas
        • Recognize Dates When Importing Data
        • Output a DataFrame to CSV
  • Hashicorp Vault
    • 1. Commands
    • 2. More commands
    • Auto-unseal
    • Best practices
    • Init RAFT
    • Install on GKE (import test)
    • Vault helm example
    • Medusa test
    • Sidecar injector
  • QA
    • Code testing
  • AGP
    • Create new portal
  • Work
    • DB Schemas CI/CD
    • DINS
      • AGS - QA tool
      • api.ringcentral.com
      • Infra
      • AWS access
        • Connect to the new aws cluster
      • Prometheus
        • Alertmanagers
      • Common issues
      • CMR example
      • Harbor
      • Lab Login
      • Sealed Secrets
      • CrowdStrike
      • Webhook
      • Restart pulse
      • Whiteboard
  • other
    • Chrome (moved)
    • other: Color hex (moved)
    • End of life/support EOL
    • Mermaid.live (moved)
    • Shell
      • Zsh hints
    • Programming ()
      • prog: js/nodejs/angular
      • Python
        • py: tasks from codewars
        • py: read file to list
        • py: input stdin
        • py: polindrom
        • py: recursion
        • py: sort a list and delete dup
        • ping
    • SSL certificates
      • ssl: check crt file
    • Other: paywithmoon
  • MacOS
    • Apps
    • Aria2
    • Terminal in single user mode
    • NET::ERR_CERT_INVALID in Chrome on MacOS
    • gcloud installation
    • List/restart network interfaces
    • MC insert (moved)
    • Mount ntfs disk
    • Oh-my-zsh
    • qbittorent
    • Resize PDF
    • Resize image
    • Restart Bluetooth
    • Restart Pulse
    • Reset password
    • Switch between open windows
    • Sleep when lid is closed
    • Traceroute
    • vpn clients
  • AWS
    • aws-cli
      • Create aws cli profile
    • ELB
      • ELB ip address
      • X-Forwarded-For Header
    • EKS
      • aws:eks: Pre-created cluster with terraform
      • Add cluster to kubeconfig
      • EKS: pods per instance limit
      • EKS CrashLoopBackOff
      • EKS Self-managed nodes update
    • Install aws cli
    • List ec2 instances
    • List certificates
    • Create cert
    • S3
      • s3: list and download files
      • s3: allow access to bucket
    • SSH
    • Trust relationships
    • VPC
      • Scheme
      • VPC peering basics
      • Examples
  • Monitoring
    • Prometheus
      • Deploy Prometheus to k8s
  • WEB SERVERS (moved)
    • Apache | httpd
      • apache: list virt hosts
      • apache: show connections
      • apache: reload
    • nginx
      • Config builder
      • nginx: examples
      • nginx: lb
      • nginx: stable vs mainline
      • tuning-nginx
      • show nginx config
      • nginx: scheme
Powered by GitBook
On this page

Was this helpful?

  1. WEB SERVERS (moved)

Apache | httpd

apache: list virt hostsapache: show connectionsapache: reload
PreviousDeploy Prometheus to k8sNextapache: list virt hosts

Last updated 3 years ago

Was this helpful?