LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-25-2011, 12:06 AM   #1
Adol
Member
 
Registered: Feb 2011
Location: Osaka, Japan
Distribution: Gentoo, Opensuse
Posts: 262

Rep: Reputation: 5
I cant figure out what this symbol is and how to type it (')


Very simple question but I cant proceed without the answer so if anyone can help please reply.

What is this symbol '
and how do I type it? I tried google but dont really know to search for it.

I'm trying to type in:

Quote:
cat > ~/.bash_profile << "EOF"
exec env -i HOME=$HOME TERM=$TERM PS1='\u:\w\$ ' /bin/bash
EOF
Is it just a single quote?

Last edited by Adol; 02-25-2011 at 12:09 AM.
 
Old 02-25-2011, 12:23 AM   #2
mlangdn
Senior Member
 
Registered: Mar 2005
Location: Kentucky
Distribution: Slackware64-current
Posts: 1,429

Rep: Reputation: 196Reputation: 196
Yep. Its found under the regular quote key - " is on top, and ' is on the bottom.

Last edited by mlangdn; 02-25-2011 at 12:24 AM.
 
1 members found this post helpful.
Old 02-25-2011, 12:25 AM   #3
soplin
Member
 
Registered: Apr 2007
Distribution: Mostly Debian
Posts: 114

Rep: Reputation: 19
I think you are looking for a ` grave accent.
If not, a single quote or apostrophe '

Using US keyboard:
` under the ESC without shift
' where there is " but without shift

Last edited by soplin; 02-25-2011 at 12:30 AM.
 
1 members found this post helpful.
Old 02-25-2011, 12:48 AM   #4
alan99
Member
 
Registered: Mar 2010
Distribution: Debian
Posts: 180

Rep: Reputation: 31
I don't understand why you would put that in your ~/.bash_profile file. When you start a bash shell, do you want it to just create another shell recursively? That is what that will do. Just put the environment values you want in your .bash_profile file and then export them with the export command. That is the normal way to do it.
 
Old 02-25-2011, 12:59 AM   #5
alan99
Member
 
Registered: Mar 2010
Distribution: Debian
Posts: 180

Rep: Reputation: 31
Also, I'm thinking that unless you call the /bin/bash shell with the --noprofile option, won't the new shell run your .bash_profile again --- thus starting an infinite loop?
 
Old 02-25-2011, 01:00 AM   #6
Adol
Member
 
Registered: Feb 2011
Location: Osaka, Japan
Distribution: Gentoo, Opensuse
Posts: 262

Original Poster
Rep: Reputation: 5
Quote:
Originally Posted by alan99 View Post
I don't understand why you would put that in your ~/.bash_profile file. When you start a bash shell, do you want it to just create another shell recursively? That is what that will do. Just put the environment values you want in your .bash_profile file and then export them with the export command. That is the normal way to do it.
I'm following directions from the Linux from scratch documentation. I could probably do it a different way but for the first build I don't want to have any problems later on.

how would I write it then export?

Quote:
Using US keyboard:
` under the ESC without shift
' where there is " but without shift
This is a real pain because I'm using a Japanese keyboard and set it up as a Japanese keyboard.
 
Old 02-25-2011, 01:50 AM   #7
Adol
Member
 
Registered: Feb 2011
Location: Osaka, Japan
Distribution: Gentoo, Opensuse
Posts: 262

Original Poster
Rep: Reputation: 5
Great!!!

found it. It was a single quote.

Thank you everyone.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Guitar Pro 6 doesn't start, "symbol lookup error: ./libxml.so: undefined symbol: gzop Squall90 Slackware 4 10-12-2010 03:35 PM
symbol lookup error: /usr/lib/libavcodec.so.51: undefined symbol: av_crc04C11DB7 priceey Linux - Software 0 05-06-2009 09:14 AM
./firefox-bin :symbol lookup error:/lib/libgthread-2.0.so.0: undefined symbol: arulupsaras Linux - General 1 11-08-2008 05:48 AM
symbol lookup error: /usr/lib/libgtk-x11.2.0.so.0: undefined symbol:... IamI Slackware 17 02-29-2008 12:10 PM
Workaround: 'symbol lookup error: k3b: undefined symbol: lstat64' devdol Linux - Software 2 02-15-2008 04:36 AM


All times are GMT -5. The time now is 08:33 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration