If it’s DC, the easiest way is to use a shunt resistor and measure the voltage across it, and for AC you could use a ... [Daniel] wanted to power his current probe with a 5V input derived ...
If you want to measure AC or DC current with an oscilloscope ... the video also shows a teardown of a Hantek current probe and explains the theory behind the different kinds of current probes ...