Difference between revisions of "Redis-cli -x"
Jump to navigation
Jump to search
Tags: Mobile web edit, Mobile edit |
|||
Line 1: | Line 1: | ||
{{lc}} | {{lc}} | ||
− | <code>cat /etc/passwd | redis-cli -x [[set]] mypasswd</code> | + | <code>cat [[/etc/passwd]] | redis-cli -x [[set]] mypasswd</code> |
<code>redis-cli -x [[SET]] net_services < [[/etc/services]]</code> | <code>redis-cli -x [[SET]] net_services < [[/etc/services]]</code> |
Revision as of 08:10, 9 March 2023
cat /etc/passwd | redis-cli -x set mypasswd
redis-cli -x SET net_services < /etc/services
See also
redis-cli [ info server | memory usage | info memory | memory stats | memory doctor | dbsize | flushall | ping | monitor | --bigkeys | --stat | --scan | --latency | --latency-history | --latency-dist | --intrinsic-latency 5 | -x | -h ] redis-cli --help
Advertising: