Julien Escoffier
  • Home
  • About
  • Skills
  • Experiences
  • Projects
  • Posts
  • Posts
  • Articles list
  • Automation
    • Ansible
    • Terraform
  • Backups
    • PBS
    • Veeam
  • Containers
    • Docker
    • K3s
  • Monitoring
    • Grafana_Prometheus
    • Zabbix
  • OS
    • Linux
      • Bash
      • Ceph
      • Debian
      • LVM
    • Windows
      • ActiveDirectory
      • AD_pass_extract
      • PowerShell
  • Security
    • Enumeration
  • Unclassified
    • Cisco
    • Git
    • Odoo
    • Oracle
    • Python
    • RVtools
    • Shortcodes Sample
    • Unify
  • Virtualization
    • Proxmox
    • VMware
Hero Image
Bash Unsorted commands

Remove 1st character of a variable: var=${var:1} Concatenate 2 variables: var1="${var1};$var2" Remove specific char from a variable (here “): var=${var//\"} recursively find the latest modified file in a directory: find . -type f -printf '%T@ %p\\n' | sort -n | tail -1 | cut -f2- -d" " Show everything after a PATTERN: sed -n -e 's/^.\*PATTERN//p' Same but remove all spaces: sed -n -e 's/^.\*stalled: //p' Get http status code of an url: curl -o /dev/null --silent --head --write-out '%{http_code}\\n'

Saturday, January 1, 2000 Read
Hero Image
Ceph

Ceph

Saturday, January 1, 2000 Read
Hero Image
Debian specificities

Debian

Saturday, January 1, 2000 Read
Hero Image
LVM operations

LVM

Saturday, January 1, 2000 Read
Navigation
  • About
  • Skills
  • Experiences
  • Projects
Contact me:
  • [email protected]

Stay up to date with email notification


By entering your email address, you agree to receive the newsletter of this website.

Toha Theme Logo Toha
© 2024 Copyright.
Powered by Hugo Logo