This is an old revision of the document!


MISC

Terminator

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

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
}

Manipulating Strings

linux/misc.1759841846.txt.gz · Last modified: by tmade
 
Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Noncommercial-Share Alike 4.0 International
Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki