I did not mean to discourage you, in fact I want to encourage you!
But as in all things, you must learn basic skills before moving to advanced. You learn to walk before learning to ride a bicycle, and you learn drive a family car before moving on to heavy transports or formula racers.
It is great that you want to learn ethical hacking, in fact ethical everything! But you need to have mastery of the machine and the operating system concepts before you can understand the hacking part, even if you are well equipped ethically!
One basic concept you seem to be missing is the "file" and how commands and data are put into them and then used. The Rute link above is an excellent resource if you start at the beginning and work your way through. It even includes an early section on
Files and Commands.
ANd a word about learning by video - the only way to learn programming and the necessary text manipulation skills is with fingertips on keyboard! There is no substitute for that, and you can't copy/paste an example from even the best video tutorial! Educational video certainly has its place, but probably not as the primary source for programming knowledge and examples. Read, read, read and type, edit, play! The only way to learn it!
Good luck!