Skip to content

Riaan's SysAdmin Blog

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

  • About

Bash

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
Bash Ubuntu 

Powerline for your terminal on Ubuntu

September 9, 2015 admin

I noticed on Fedora it is really easy to enable powerline in your terminal. This article explains it well: http://fedoramagazine.org/add-power-terminal-powerline/

Read more
  • ← Previous

Recent Posts

  • Restic find and list one file
  • Gnome Desktop Shortcut Exec
  • ZFS Send To Encrypted Volume
  • Linux WakeOnLAN Issue
  • Linux Broadcom Wireless Issue 5.x kernel

Tags

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