Introduction to Bash Scripting | clipboard access in parrot OS

Hi all,
I am new in HTB-town, and currently doing [Introduction to Bash Scripting].
It really bugs me, that I am unable to mark, cut and paste some code from the tutorial into the VM shell/nano editor.
Would be a nice-to-have in flow control - loops
I am using a Macbook, where I have no problems doing that ( DOH )
But scripts do not yield the same results (The conditional execution exercise script as ex.)