How to set the camera position and rotation to my view position and rotation? Hello I have many problems with poitioning the camera in blender. ( I am a noob sorry)

But what is the way / shortcut to position the camera  to my view so it will see what I see in the editor.
Select the camera and use the Ctrl+Alt+Num 0 shortcut. You may also do it via View-->Align View-->Active Camera to View.