. Define macro or load r2, cparse or rlang file
Usage: .[r2cmd] | [file] | [!command] | [(macro)] # define macro or load r2, cparse or rlang file
When prefixed with a
.and postfixed with a*, then the output of the command is interpreted as r2 commands and executed. Example:.idp*-.repeat last command backward -. foo.r2Run the commands found in foo.r2. Works with .py files also. - > In case of a .py file, it will run and interpret commands set usingr2pipe
.r2cmdinterpret the output of the command as r2 commands.. [file]run the output of the execution of a script as r2 commands...repeat last command forward (same as \n).:8080listen for commands on given tcp port.—terminate tcp server for remote commands. foo.r2interpret r2 script.-open cfg.editor and interpret tmp file.!rabin -ri $FILEinterpret output of command.(foo 1 2 3)run macro 'foo' with args 1, 2, 3. Find more info in(Macros./ ELFinterpret output of command /m ELF as r. commands
.r2cmd .!rabin