LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 11-01-2012, 09:05 AM   #1
unixor
Member
 
Registered: Aug 2012
Posts: 46

Rep: Reputation: Disabled
options


hello!

how do I change default text viewer?

also, in which file can I access/edit from terminal the bash options and general linux options?

in Ubuntu 12.04

thanks!
 
Old 11-01-2012, 09:25 AM   #2
sag47
Senior Member
 
Registered: Sep 2009
Location: Orange County, CA
Distribution: Kubuntu x64, Raspbian, CentOS
Posts: 1,831
Blog Entries: 36

Rep: Reputation: 451Reputation: 451Reputation: 451Reputation: 451Reputation: 451
~/.bash_profile and ~/.bashrc and sometimes ~/.bash_aliases

See man bash and look at the section INVOCATION. It will tell you the process of how bash loads its configuration files.
 
Old 11-01-2012, 09:33 AM   #3
shivaa
Senior Member
 
Registered: Jul 2012
Location: Grenoble, Fr.
Distribution: Sun Solaris, RHEL, Ubuntu, Debian 6.0
Posts: 1,800
Blog Entries: 4

Rep: Reputation: 286Reputation: 286Reputation: 286
Quote:
how do I change default text viewer?
Make sure, are you asking for text viewer or text editor?

Quote:
in which file can I access/edit from terminal the bash options and general linux options?
Are you asking about shell or envorinmental variables? If so, then by editing the .bashrc (but I won't recommend doing this). Instead you can set value of any variable using following syntax in bash:
<variable_name>=<value>
export <variable_name>
Eg. history=500
export history
Then to check value assigned to any variable, use either:
echo $<variable_name>
Or for full listing, invoke cmd:
env

Last edited by shivaa; 11-01-2012 at 09:35 AM.
 
Old 11-01-2012, 01:02 PM   #4
DavidMcCann
Senior Member
 
Registered: Jul 2006
Location: London
Distribution: CentOS, Salix
Posts: 4,162

Rep: Reputation: 1223Reputation: 1223Reputation: 1223Reputation: 1223Reputation: 1223Reputation: 1223Reputation: 1223Reputation: 1223Reputation: 1223
If you find a text file in Nautilus, right click, and choose "properties" you have an "open with" option. At least, you do in Gnome; I'm never too sure what Unity gets up to!
 
  


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
Proper make options and gcc options for my particular processor CyclicFlux Linux - General 1 08-17-2012 08:49 PM
How do I delete KDE options without deleting Dolphin's options? Mr. Alex Linux - Software 1 10-27-2011 07:06 AM
[SOLVED] Kernel boot options removed by fault, no boot options cdt Linux Mint 8 09-09-2011 12:25 AM
[SOLVED] modifying stream id of ip options Error options (unknown 136) MegaMindd Programming 0 06-07-2011 10:17 AM
Kernel 2.6.2 options question - LOCKED options ? tvojvodi Linux - General 0 02-17-2004 05:23 AM


All times are GMT -5. The time now is 04:07 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