Meaning
to be well-acquainted with the details or procedures of a task
Literal Meaning
To understand the ropes or lines used in sailing.
Example
“As a seasoned employee, he knows the ropes and can train newcomers.”