hexdump, hd — ASCII, decimal, hexadecimal, octal dump

The hexdump utility is a filter which displays the specified files, or standard input if no files are specified, in a user-specified format. $cat version.c #include #include int main(int argc, char **argv) { printf(“MySQL client version: %sn”, mysql_get_client_info()); } Commandline Session $hexdump version.c 0000000 6923 636e 756c 10064 3c20 796d 675f 6f6c 0000010 6162 2e6c …

Hacking with the “groups” GNU command

20.4 `groups’: Print group names a user is in ============================================= `groups’ prints the names of the primary and any supplementary groups for each given USERNAME, or the current process if no names are given. If more than one name is given, the name of each user is printed before the list of that user’s groups …