LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 08-09-2002, 02:26 AM   #1
dai
Member
 
Registered: May 2002
Location: Wales
Distribution: Slack 8.1, Gentoo 1.3a, Red Hat 7.3, Red Hat 7.2, Manrake 8.2
Posts: 328

Rep: Reputation: 30
.bash_configure


Hi all

Ive just reinstalled Rh 7.2 without any gui's. I am now attempting to upgrade Qt to 3.03 from the command line however I need to edit the .configure_bash file before I am able to run ./configure.

how would I beable to open and edit this file at the command prompt??

Also when I attempt to find .bash_configure in /Home It is not listed, I know the file was hidden before but I only managed to unhide it using Konqueror in KDE so how would you unhide a file so that you can open it and edit it at the cmd line????
 
Old 08-09-2002, 02:48 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1977Reputation: 1977Reputation: 1977Reputation: 1977Reputation: 1977Reputation: 1977Reputation: 1977Reputation: 1977Reputation: 1977Reputation: 1977Reputation: 1977
just use an editor like pico or vi.

a file with a . at the start is a hidden file. that's all there is to it, forget any KDE rubbish. you can still edit them fine, it just won't appear in a standard directory loisting, try ls -a insteasd of a standard ls
 
Old 08-09-2002, 02:49 AM   #3
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 250Reputation: 250Reputation: 250
ls -al will list all files within a directory. and I think its .bashrc or .bash_profile you are looking to edit.

and using vi like this will open it up in an editor to edit:

vi .bashrc

man vi for use on it.

or you can use a more simpler text editor like pico if its installed.

pico .bashrc

ah man.. acid beat me...
 
Old 08-09-2002, 03:04 AM   #4
dai
Member
 
Registered: May 2002
Location: Wales
Distribution: Slack 8.1, Gentoo 1.3a, Red Hat 7.3, Red Hat 7.2, Manrake 8.2
Posts: 328

Original Poster
Rep: Reputation: 30
many thanks to you both and TrickyKid you are quite correct its .bash_profile I need to edit.

However I tried ls -al in the /Home directory and it didnt show these files up! Would there be a reason for this???

Ohh well I will soon have my copies of Slack and Gentoo to "Play" with also

Last edited by dai; 08-09-2002 at 03:05 AM.
 
Old 08-09-2002, 10:54 AM   #5
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 250Reputation: 250Reputation: 250
Quote:
Originally posted by dai
However I tried ls -al in the /Home directory and it didnt show these files up! Would there be a reason for this???
If the files do exist, most likely they will be specifically in the users home directory, /home/user1/.bash_profile
 
  


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 On
HTML code is Off



LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 06:40 PM.

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