This is an old revision of the document!
Personalized terminator settings:
shift+F10 #Preferences (if "PuTTY style paste" is active) strg+shift+c #copy strg+alt+h #split horizontally strg+alt+v #split vertically strg+alt+m #multiplex (groupalltoggle) Terminator -> Preferences -> Profiles -> Scrolling #set lines of scollback (infinite or to amount of lines)
jq - commandline JSON processor, to visualize json output in a readable way
Example unformated text-output:
cat test
[{"target_name":"mytarget","message":"Successfully processed","action_success":true}]
Output formated by piping in jq via command:
cat test | jq '.[] | select(.target_name == "mytarget" and .message == "Successfully processed" and .action_success = "true")'
{
"target_name": "mytarget",
"message": "Successfully processed",
"action_success": true
}
https://tldp.org/LDP/abs/html/string-manipulation.html
Examples:
Ueb="String1_String2_String3"
Ersten wegnehmen:
Ueb1=${Ueb#*_}
String2_String3
Ersten behalten:
Ueb1=${Ueb%%_*}
String1
Letzten wegnehmen:
Ueb1=${Ueb%_*}
String1_String2
Letzten behalten:
Ueb1=${Ueb##*_}
String3