Skip to content

Riaan's SysAdmin Blog

My tips, howtos, gotchas, snippets and stuff. Use at your own risk!

  • About

Bash

Bash Linux 

Linux Shell Incremental Search

February 6, 2022February 6, 2022 admin

You probably use (and rely) on command search a lot already but thought I would add something about fish. If

Read more
Bash Gnome 

Gnome Desktop Shortcut Exec

January 1, 2021January 1, 2021 admin

Executing commands or scripts from a GNOME desktop shortcut I have a few scripts that I only periodically execute. For

Read more
Bash 

bash-scan-text-block-reverse

April 12, 2020April 12, 2020 admin

example finding a block. start string and reverse search up to next string. then replacing a line inside the block

Read more
Bash jq json restic Uncategorized 

Bash Read Json Config File

December 14, 2019April 12, 2020 admin

Couple of things here: I wanted to do some restic scripts At the same time use a configuration file. The

Read more
Backups Bash restic 

Restic create backup and set tag with date logic

November 21, 2019April 12, 2020 admin

Also see previous post https://blog.ls-al.com/bash-date-usage-for-naming if you are interested. This post is similar but more specific to restic tagging. Below

Read more
Bash 

Bash Read Array From Config File

June 17, 2019June 17, 2019 admin

I was recently needing to read values from a configuration file into bash and had some success with reading json

Read more
Bash 

Bash History Plus Comment

March 25, 2019March 25, 2019 admin

If you like using Control-R in bash to find previous commands here is a useful tip. You can add a

Read more
Bash 

Test Tcp Open Port

August 15, 2018 admin

If you don’t have telnet or nc installed and want to quickly test firewall traffic to a server and specific

Read more
Backups Bash 

Bash Date Usage For Naming

July 20, 2018 admin

I am recording some scripting I used to create backup classification/retention naming. It can be simplified into one function easily

Read more
Bash Expect 

Expect and bash

January 19, 2017 admin

Quick example of spawning a problem that have a password prompt and can’t accept a documented parameter for a password.

Read more
  • ← Previous

Recent Posts

  • ACM check validation
  • Linux Shell Incremental Search
  • python append key
  • Kubernetes NodePort Load Balancing with nginx
  • AWS SNS to http subscription receiving in python3 http server and Flask

Tags

Active Directory Ansible AWS Azure Backups Bash DNS Docker DynamoDB Firewall Gnome go javascript jq json KVM LDOM Linux Logging LVM Nagios nfs OCI Oracle Bare Metal Cloud Services OVM PHP Printing Python rclone RDP restic Security Sendmail SMTP Solaris SSH Terraform Ubuntu Uncategorized Video Encoding Virtualbox VNC VPN Windows ZFS
Copyright © 2022 Riaan's SysAdmin Blog. All rights reserved.
Theme: ColorMag by ThemeGrill. Powered by WordPress.