BITS(1) User Commands BITS(1) (NAME) bits - (SYNOPSIS) bits [-h] [-V] [-w number] [mode] [mask|list]... (DESCRIPTION) bits . . (POSITIONAL ARGUMENTS) mask ( : 0xeec2). list ( : 1,5,29,32). . ( : 5,6,7,8,9,10 -> 5-10). ( : ,00014000,00000000,00020000 -> 17,78,80). OR . & ^ ~ : &mask|&list AND . : . . ^mask|^list XOR . : ( ) . . ~mask|~list ( ) . (OPTIONS) -w number, --width number bits. 8192 . . -h, --help . -V, --version . (CONVERSION MODE) . -m, --mask . -b, --binary (). -g, --grouped-mask . -l, --list . . -m, --mask (). (EXAMPLES) ~$ bits --mask 4,5-8 16,30 0x400101f0 ~$ bits --list 0xeec2 1,6,7,9-11,13-15 ~$ bits --binary 4,5-8 16,30 0b100_0000_0000_0001_0000_0001_1111_0000 ~$ bits --list ,00300000,03000000,30000003 0,1,28,29,56,57,84,85 ~$ bits --list 1,2,3,4 ~3-10 1,2 ~$ bits --list 1,2,3,4 ^3-10 1,2,5-10 ~$ bits --grouped-mask 2,22,74,79 8400,00000000,00400004 ~$ bits --width 64 --list 2,22,74,79 2,22 (AUTHORS) Robin Jarry. (REPORTING BUGS) . (AVAILABILITY) bits util-linux . util-linux 2.42.3 2026-09-02 BITS(1)