K2HTOUCH(1)
π K2HTOUCH(1) β the glow-up β¨
okay so bestie, welcome to the K2HTOUCH manual page, section 1, straight outta the NoSQL(KVS) Library. yes we're in the K2HASH cinematic universe and this little icon is the utility tool. let's get into it π
πΈ NAME πΈ
K2HTOUCH β the Utility Tool for K2HASH. it's giving tiny-but-essential, no cap.
β¨ SYNOPSIS β¨
k2htouch [ -h ]
k2htouch
FILE [ COMMANDS [ KEY ] [ VALUE ] ]
π¦ DESCRIPTION π¦
okay so k2htouch is a tool for create/add/modify/delete-ing key and value in a K2HASH file. that's it, that's the job, and it ate.
and here's the lore: this tool is used from the k2hedit script for editing by vi editor. so when you're out here living your vi life, this is the little helper doing the actual key-and-value work in the background. supporting character energy but honestly? main character behavior. π«Ά
π OPTIONS π
-hβ display help. your little "wait what do I do" moment, solved.FILEβ specify the k2hash file path. you gotta tell it which file we're touching, bestie.
then the commands:
createβ the command for creating a new k2hash file. fresh start, new era. πcreateminiβ the command for creating a new k2hash file (mini size). same vibe, smol package. πset [ KEY ] [ VALUE ]β the command for setting (adding) a key and value into the k2hash file. put it in there.get [ KEY ]β the command for getting a value by the key from the k2hash file. read the receipts. π₯delete [ KEY ]β the command for deleting the key from the k2hash file. blocking, but for data.addsubkey [ KEY ] [ SUBKEY ] [ VALUE ]β the command for adding a subkey and value into a key. nesting era πgetsubkey [ KEY ]β the command for getting subkeys. peek at the little ones.push [ queprefix ] [ value ] (-lifo or -fifo)β the command for push the que. yes-lifoor-fifo, pick your fighter.pop [ QUEPREFIX ]β the command for pop the que. bye bestie πclear [ QUEPREFIX ]β the command for clear the que. wiped. clean slate. β¨kpush [ queprefix ] [ value ] (-lifo or -fifo)β the command for push the keyed que. same energy, but keyed this time.kpop [ QUEPREFIX ]β the command for pop the keyed que. and away it goes.kclear [ QUEPREFIX ]β the command for clear the keyed que. poof. πlistβ the command for listing all key and value from the k2hash file. the full haul, no filter. πinfoβ the command for print status of k2hashfile. a lil vibe check on your file.dtor [on -conf dtorconffile | off]β the command for settingk2htpdtor(transaction plugin). on with a-conf dtorconffile, or justoff. your call, queen.
π ENVIRONMENT π
K2HDBGMODEβ theK2HDBGMODEenvironment sets the debugging message level, same as the-goption. the value is set asSILENT,ERR,WANorINFO. and here's the fun part: whenk2hlinetoolcatches theSIGUSR1signal, the debugging message level is bumpup. the level is changed as order bySILENT,ERR,WAN,INFO,SILENT... and around we go, like a little carousel of chatter. π2HDBGFILEβ the2HDBGFILEenvironment sets the file which is debugging message, this is as same as the-glogoption. (and yes, that's literally how it's spelled in here, no I did not typo it, I am simply reporting the lore π)
π§ SEE ALSO π§
k2hash(1), k2hlinetool(1), k2hreplace(1), k2hcompress(1), k2hedit(1)
the whole friend group. go say hi. π«Ά
π BUGS π
Please report owner and committers.
not me telling you to go bother the owner and committers directly, but that's literally what it says, so. π
π AUTHOR π
k2hash has been written by Tetsuya Mochizuki <temochiz@lycorp.co.jp>.
and that's the whole page bestie, we did it. this one's from K2HASH, dated February 2014 β an absolute vintage classic, still slaying. mwah ππβ¨
π¦ where this page comes from
- epel 10: k2hash 1.0.101-1.el10_3 Β· MIT
- epel 9: k2hash 1.0.98-1.el9 Β· MIT
- fedora 43: k2hash 1.0.99-1.fc43 Β· MIT
- fedora 44: k2hash 1.0.100-2.fc44 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms