LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   .bash_configure (https://www.linuxquestions.org/questions/linux-general-1/bash_configure-27548/)

dai 08-09-2002 02:26 AM

.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????

acid_kewpie 08-09-2002 02:48 AM

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

trickykid 08-09-2002 02:49 AM

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... ;)

dai 08-09-2002 03:04 AM

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 :D

trickykid 08-09-2002 10:54 AM

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


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