cli commands automaticly generated ?

hello,

when i create some config in Winbox over the GUI, can i see the releated cli command for that created config ?

i mean, if i add a firewall rule, can i see cli command which was used to create this config ?

Thanks in advanced.

Yes, experiment with these:

/export
/export terse
/export verbose
/export terse verbose
/export show-sensitive

Export is supported at all nodes in the command tree:

/ip firewall export
/ip firewall export terse
/ip firewall export verbose
/ip firewall export terse verbose

I’m a die hard command line fan via https://help.mikrotik.com/docs/display/ROS/SSH
Look at the Quick Typing section https://help.mikrotik.com/docs/display/ROS/Command+Line+Interface

it helped me alot. Thank you so much.

But when i delete a config in winbox gui, i cant see the command used to do this operation.
The export command shows me the corrent configurations. i hope i can see the commands when i delete or modify a config with winbox. so i can lear more about the cli commands

Start with the documentation, everything is explained there, including about export
https://help.mikrotik.com/docs/display/ROS/Command+Line+Interface

By design WinBox closely follows Command Line Interface and Command Line Interface documentation is the WinBox documentation.
I can’t say how WinBox or The Dude interact with RouterOS.

I can say RouterOS Command Line Interface is unique (nothing link any common shell) but follows clear patterns.
In particular, every node in command tree has common command set: add remove get set find print export and often more.
Key note, the get command doesn’t show visible output in the terminal; it use is get data for scripting variable.
Key concept: print command shows entities with an index number which is select input for remove get set etc.
Key concept: bracketed [ find where expression ] command argument returns entity index number set.
Poorly documented: the expression part of [ find where expression ] command line argument.
Useful tool to learn where expression is: print where expression and user tab key after where.

An example, let’s disable logging in every IPv4 firewall input chain rule:

/ip firewall filter set [ find where chain=input ] log=no

Let’s remove every statiic IPv6 address:

/ipv6 address remove [ find ]

@normis : this is not a usefull answer my friend.

I would like to thank the other guys for your help. i will give it a try

Unless you want to know the difference between “print follow”, “print follow-only” or “print follow-strict”. The doc writer gave up there it seems.

@normis is correct, that is the current best documentation which is a work in progress and incomplete in some areas.
I will say it covers Command Line Interface § Item Names and Numbers at some length of which I wrote far more briefly.