Which key do I press to get a forward Sinqle quote and a backward single quote

I can't remember which key I press to a forward single quote and a backward single quote.  I put in `` and in Unix ksh shell I get a message that say unmatched, because these are forwad single quote.  How do I create the backward single quote.  Help
leftridge1Asked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

leftridge1Author Commented:

Using UNIX in the Korn shell
biraCommented:
could you post the complete line you´re trying to enter?
leftridge1Author Commented:
I just need to know what keys I press in Unix to get the single quote to match for example
awk `($2=="F"){print}`users  - `` doesn't match  what key do I press to get these symbols to match
forward quote `
backward quote ' - this is note a backward quote
Exploring ASP.NET Core: Fundamentals

Learn to build web apps and services, IoT apps, and mobile backends by covering the fundamentals of ASP.NET Core and  exploring the core foundations for app libraries.

brettmjohnsonCommented:
You do not use backquote in this manner.
`some command`  executes some command in a subshell and substitutes its output in the script.

In  your example, you want to use regular single quote ('), generated by the key between :; and Return/Enter on US keyboards.  (The same key generates double quote (") when shifted).

Unfortunately, I cannot figure out just what you are trying to accomplish in your command, since no valid assortment of forward quotes and back quotes makes sense.

awk '($2=="F"){print}'

is valid awk program.  I don't know what you are trying to accomplish with the `users -` command.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
leftridge1Author Commented:
What I'm trying to say is how do you close your single quote
 I've create 12 records that have 6 fields and I'm trying to display an employee who make 6-figure salaries by typing in :
awk '(length($6)==6){print}' employeefile
when I type this int the command  say unmatched `. - NEED TO KNOW HOW TO CLOSE MY SINGLE QUOTE.  Didn't mean to make things seem so complicated.  Please help a sister out.
ozoCommented:
' is closed by '
awk '(length($6)==6){print}' employeefile
is a valid command with properly balanced '
do you have ` anywhere else in your script?
leftridge1Author Commented:
 i can't seem to close my quote when am at the command prompt
ksh
$awk '(length($6)==6){print}' employeefile - what keys on the keyboard do I press to get this symbol.  I can type '  ' by pressing the key  ' , but at the command line it doesn't come out like this it comes out as unmatched '.  I hope this helps
ozoCommented:
It should be the same key that you pressed to type it here.
Can you cut and paste the command from this page onto your shell line,
and cut and paste what comes out and any messages back to here?
leftridge1Author Commented:
I got it.  Thanks for all your help!!
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Unix OS

From novice to tech pro — start learning today.