command line – Copy and Paste options are not working in Gedit text-editor in a Linux terminal

I’m new to Ubunto and Linux. I’m using Ubunto 20.04 Virtual Machine, and I’m trying to install asterisk using the terminal.
There are some codes that I need to write in text files using gedit, but instead of rewriting the codes I want to copy them and paste them on gedit.
None of the following is working for me:
Ctrl + v
Ctrl + shift + v
Alt + Insert
Ctrl + Insert
Shift + Insert
I also noticed that when the terminal asks me to enter my password, It doesn’t show it on the terminal as I write it. I don’t know if that’s related.

terminal – Edit lots of profiles in iTerm2

A longtime user of Terminal on the Mac, a colleague recently recommended iTerm2. I had a play around with it, and the same colleague gave me his Profiles JSON file. In vim, I was able to do a global replace of his username with mine, to change the ssh profiles. However, he uses a white background and black text, and the font is far too small for me.

Is there any way to know what to change in the JSON, which is 16,334 lines long, so there’s no question of doing it manually?

I essentially want to make all of my ssh sessions open with a dark green background, yellow text and with the entire window enlarged to where it would be if I did roughly eight presses on CMD+.

Thank you.

rosetta 2 – Copy of Terminal app is removed after each restart

I’m using a M1 Mac Mini and have created a duplicate of the Terminal app called “Rosetta Terminal” that runs Rosetta.

Each time I restart/update my computer this duplicate is removed from the Applications folder. Why? How can I keep it?

Also, when I create a duplicate of the regular non-rosetta terminal and rename it to “Rosetta Terminal” it somehow remembers/knows that it should open in Rosetta mode. Super weird.

command line – Scrolling the terminal without a mouse

I’m sure this has been asked before, but anytime I try scrolling using the arrow, page up/down keys and/or those in combination with ctrl, shift, alt, etc. It just types some odd combination of symbols into the terminal. Something like {`3|, though I don’t remember exactly.

For example, this makes it impossible to see for example anything above the letter S when I check for all installed applications.

I am very new to Linux and I only know some of the basics and am trying to learn it. I’ve googled but nothing really helped me there.

Thanks in advance!

terminal – How can I export a list of files within a volume or folder?

I would like to export a list of files contained in a Volume into legible text, or a spreadsheet document that I can easily share.

Things I have tried so far that didn’t work:

TextEdit: If I select all the folders on the volume, for example when the Finder window is presenting them in a column, then Copy then Paste into a Plain Text document, only the names of the folders will be copied, not the contents.
I could present the folder in List format in the Finder window, but then I would have to manually open all the folders one by one before copying/pasting. Too time consuming.

TextWrangler: The output is ok, but I feel like I would like to have more options regarding how many levels deep the exported file list is, otherwise I end up with 33k lines of text. Good but not customizable.

Terminal: Some courageous experts have shared how to do it with Terminal, but I’m not super comfortable with it, and most importantly, the Volume I tried to execute the command on didn’t load (“No such file or directory”) – maybe because there are spaces in my Volume names? (this tip did not work when trying to add a Volume name with spaces in a Terminal prompt to output file names…). Did not work.

At the end of the day I ended up purchasing a paid app, but since I use several different user accounts across several machines, I would love to know if there is an easier and free way that I can use in the future.

Machine: iMac Mid-2011 with High Sierra.