[SOLVED] What keystroke is this ??

About writing shell scripts and making the most of your shell
Forum rules
Topics in this forum are automatically closed 6 months after creation.
Locked
JoeBingo
Level 4
Level 4
Posts: 290
Joined: Fri Jun 24, 2011 4:18 pm

[SOLVED] What keystroke is this ??

Post by JoeBingo »

Often I've seen terminal commands that contain a perfectly vertical keyboard character but I can't for the life of me figure out what the keystroke is ?!?!?!
For instance, this terminal command I copied and pasted ...
ls -lct /etc | tail -1 | awk '{print $6, $7}'
What is the keystroke for the vertical line between "etc and tail" and between "-1 and awk" ??
Thank YOU !!!
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 2 times in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
wyrdoak

Re: What keystroke is this ??

Post by wyrdoak »

On my keyboard it's shift+\
JoeBingo
Level 4
Level 4
Posts: 290
Joined: Fri Jun 24, 2011 4:18 pm

Re: What keystroke is this ??

Post by JoeBingo »

wyrdoak wrote:On my keyboard it's shift+\
AWESOME !!! Thank YOU !!!
User avatar
Pilosopong Tasyo
Level 6
Level 6
Posts: 1432
Joined: Mon Jun 22, 2009 3:26 am
Location: Philippines

Re: [SOLVED] What keystroke is this ??

Post by Pilosopong Tasyo »

JoeBingo wrote:...the vertical line...
It's called the pipe symbol, by the way.
o Give a man a fish and he will eat for a day. Teach him how to fish and he will eat for a lifetime!
o If an issue has been fixed, please edit your first post and add the word [SOLVED].
JoeBingo
Level 4
Level 4
Posts: 290
Joined: Fri Jun 24, 2011 4:18 pm

Re: [SOLVED] What keystroke is this ??

Post by JoeBingo »

Thanks for the link for the pipe symbol. I had no idea of it's meaning or purpose.
User avatar
Oscar799
Level 20
Level 20
Posts: 10398
Joined: Tue Aug 11, 2009 9:21 am
Location: United Kingdom

Re: [SOLVED] What keystroke is this ??

Post by Oscar799 »

Moved here by moderator
Image
eric k

Re: [SOLVED] What keystroke is this ??

Post by eric k »

You aren't the only one to wonder about this...on my keyboard it's displayed as two short vertical lines one atop the other, which confused me for the longest time. I remember staring down at it for a solid five minutes once and muttering, "Umm, it really isn't here. 'Full-size keyboard' my butt!" :lol:
wyrdoak

Re: [SOLVED] What keystroke is this ??

Post by wyrdoak »

eric k wrote:You aren't the only one to wonder about this...on my keyboard it's displayed as two short vertical lines one atop the other, which confused me for the longest time. I remember staring down at it for a solid five minutes once and muttering, "Umm, it really isn't here. 'Full-size keyboard' my butt!" :lol:
Yes, my laptop keyboard shows it with the two short lines but my wireless external keyboard shows the pipe. I guess that is why my typing teacher didn't want you looking at your hand while you type to the point that all the keys in class were blank. :lol:
Locked

Return to “Scripts & Bash”