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:


Rob

Administrator
Staff member
Joined
Oct 27, 2011
Messages
915
Reaction score
1,736
Credits
1,129
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.
 
$100 Digital Ocean Credit
Get a free VM to test out Linux!

Linux.org Hosting Donations
Consider making a donation

Members online


Latest posts

Top