sed remove ansi colors from output
Using ansi colors can be very helpful to see script out[put. Example of cleaning ansi color codes from output before
Read moreUsing ansi colors can be very helpful to see script out[put. Example of cleaning ansi color codes from output before
Read moreIf you need to use an alias inside a script you need this: shopt -s expand_aliases source ~/.bash_aliases I recently
Read moreYou probably use (and rely) on command search a lot already but thought I would add something about fish. If
Read moreExecuting commands or scripts from a GNOME desktop shortcut I have a few scripts that I only periodically execute. For
Read moreexample finding a block. start string and reverse search up to next string. then replacing a line inside the block
Read moreCouple of things here: I wanted to do some restic scripts At the same time use a configuration file. The
Read moreAlso 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 moreI was recently needing to read values from a configuration file into bash and had some success with reading json
Read moreIf you like using Control-R in bash to find previous commands here is a useful tip. You can add a
Read moreIf you don’t have telnet or nc installed and want to quickly test firewall traffic to a server and specific
Read more