Hello Riko,
I recently also became very interested to start using radare2 (Raphael Machado's dissasembly attempts got involved me, to set the tool). Since I am very lazy person, the first was to ask my Fedora 25 distro does the distro have package radare2?
Yes, it does have it, so I have installed it. And for you, here is the transcript of my CLI for you.
CLI traces (radare --help) are worth 1000nd words, don't you agree? ;-)
Best Regards,
Zoran
_______
[zoran@localhost ~]$ uname -r
4.8.6-300.fc25.x86_64
[zoran@localhost ~]$ which radare2
/usr/bin/radare2
[zoran@localhost ~]$ radare2 --help
radare2: invalid option -- '-'
r_config_get: variable 'lp' not found
-- open radare2 on an empty file
- equivalent of 'r2 malloc://512'
= read file from stdin (use -i and -c to run cmds)
-= perform !=! command to run all commands remotely
-0 print \x00 after init and every command
-a [arch] set asm.arch
-A run 'aaa' command to analyze all referenced code
-b [bits] set asm.bits
-B [baddr] set base address for PIE binaries
-c 'cmd..' execute radare command
-C file is host:port (alias for -c+=http://%s/cmd/)
-d debug the executable 'file' or running process 'pid'
-D [backend] enable debug mode (e cfg.debug=true)
-e k=v evaluate config var
-f block size = file size
-F [binplug] force to use that rbin plugin
-h, -hh show help message, -hh for long
-i [file] run script file
-I [file] run script file before the file is opened
-k [k=v] perform sdb query into core->sdb
-l [lib] load plugin file
-L list supported IO plugins
-m [addr] map file at given address (loadaddr)
-M do not demangle symbol names
-n, -nn do not load RBin info (-nn only load bin structures)
-N do not load user settings and scripts
-o [OS/kern] set asm.os (linux, macos, w32, netbsd, ...)
-q quiet mode (no prompt) and quit after -i
-p [prj] use project, list if no arg, load if no file
-P [file] apply rapatch file and quit
-R [rarun2] specify rarun2 profile to load (same as -e dbg.profile=X)
-s [addr] initial seek
-S start r2 in sandbox mode
-t load rabin2 info in thread
-u set bin.filter=false to get raw sym/sec/cls names
-v, -V show radare2 version (-V show lib versions)
-w open file in write mode
-z, -zz do not load strings or load them even in raw
Scripts:
system /usr/share/radare2/radare2rc
user ~/.radare2rc ${RHOMEDIR}/radare2/radare2rc (and radare2rc.d/)
file ${filename}.r2
Plugins:
plugins /usr/lib/radare2/last
user ~/.config/radare2/plugins
LIBR_PLUGINS /usr/lib/radare2/0.10.6-git
Environment:
RHOMEDIR /home/zoran/.config/radare2
RCFILE ~/.radare2rc (user preferences, batch script)
MAGICPATH /usr/lib64/radare2/0.10.6-git/magic
R_DEBUG if defined, show error messages and crash signal
VAPIDIR path to extra vapi directory
R2_NOPLUGINS do not load r2 shared plugins
Paths:
PREFIX /usr
INCDIR /usr/include/libr
LIBDIR /usr/lib64
LIBEXT so
[zoran@localhost ~]$