CBCRC(4)
π CBCRC π
okay bestie, so this is a kernel interfaces manual page β yes, that's the vibe β and it's all about cbcrc, the configuration file for Couchbase command line tools. it lives in section 4. slay. let's get into it β¨
πΈ NAME πΈ
cbcrc β configuration file for Couchbase command line tools π
π¦ SYNOPSIS π¦
~/.cbcrc
like, that's the whole synopsis. it's just a file. one file. living its best life in your home directory. iconic π
β¨ DESCRIPTION β¨
so cbcrc is an optional configuration file that hands out default values to the cbc(1) and cbc-pillowfight(1) utilities. it should be placed in ~/.cbcrc π
each entry in the cbcrc file is one line, and that line is a key-value pair that looks like this:
# optional comments
key=value
and yes, # gives you comments. you can write little notes to yourself. self care π
you can put those keys in random order β no rules, no alphabetization required, we're not doing that here. and if you specify the same key multiple times? the last value "wins". periodt. π
here's the full lineup of keys, no gatekeeping:
connstrβ this is the URI-like string you use to connect to the cluster. its format is a scheme, then a list of hosts, then an optional bucket for the path, then an optional?followed by key-value options. π«Ά
using custom REST API ports:
http://localhost:9000,localhost:9001,localhost:9002
using custom memcached ports:
couchbase://localhost:9100,localhost:9200,localhost:9300
userβ this is the user name used during authentication to your bucket πpasswordβ this is the password used during authentication to your bucket π€«timeoutβ the timeout value to use for the operations β±οΈ
π NOTES π
- you can generate such a file from the
cbc(1)itself using thewrite-configsubcommand β¨ (not me letting the tool write its own config, main character energy fr fr) - most other options can be specified within the connection string π
π SEE ALSO π
okay that's the whole page, bestie, and it's giving July 2024 energy from the Kernel Interfaces Manual for CBCRC(4). go forth and configure responsibly ππ¦π
π¦ where this page comes from
- alpine 3.24: libcouchbase-doc 3.3.18-r0 Β· Apache-2.0
- fedora 43: libcouchbase-tools 3.3.17-2.fc43 Β· Apache-2.0
- fedora 44: libcouchbase-tools 3.3.18-3.fc44 Β· Apache-2.0
- nixos 26.05: libcouchbase 3.3.18
- nixpkgs unstable: libcouchbase 3.3.19
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms