• We had to restore from a backup today after a failed software update. Backup was from 0000 EDT and restored it at 0800 EDT so we lost about 8hrs. Today is 07/20/2024. More info here.

Cant create the pipe symbol ( | ) inside a Debian VM running on a MacOS host

relativity_face

New Member
Joined
Aug 23, 2019
Messages
1
Reaction score
0
Credits
0
Hello,

I just set up a Debian VM on my MacBook, and when I try to create the pipe symbol by pressing option + 7, it does the following:

4307


Why is this and what can I do about it?

Also, a little side question:
Why does this work: cat test.txt > test2.txt
But not this: cat test.txt | echo > test2.txt?

It was my understanding that
1. the output of "cat text.txt" would become the input of "echo"
2. that the output of echo is basically its input, and
3. redirecting the output of echo should eventually write the content of text.txt into text2.txt

I was obviously wrong as it does not work that way, what did I miss here?

Edit: I solved my initial problem, the key combination is right alt + <.

I would still love to hear an answer to my second question though
 
Last edited:


Hey there - you don't have a | key under the delete key on your macbook? It's shift-\ on my mbp from around 2015.. I have Ubuntu installed.. replaced osx on there.
 


Top