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 10-26-2004, 02:34 PM   #1
Pyus
LQ Newbie
 
Registered: Oct 2004
Location: Cheyenne
Distribution: Mandrake
Posts: 14

Rep: Reputation: 0
Smile More on BASH please ;)


Ive been readin threads all day @ my work oh the Bourne Again SHell and am still not understanding how i right or save my PS1 string correctly to .bashrc. like is kinda explained in ->

http://www.ibiblio.org/pub/Linux/doc...TO.html#AEN141

the problem i seem to be having is saving it correctly to the bashrc through bash
is this a problem or am i just a gimp and cant figure it out
probably the later but any help is greatly appreciated in my learning of linux all around.

--
Pyus
 
Old 10-26-2004, 02:38 PM   #2
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 66
You should just need to save the file with your PS1 line included. What does the file look like now?
 
Old 10-26-2004, 02:44 PM   #3
Pyus
LQ Newbie
 
Registered: Oct 2004
Location: Cheyenne
Distribution: Mandrake
Posts: 14

Original Poster
Rep: Reputation: 0
im sorry

i didnt think i was this stupid but ive only been messing with this OS for a few days lightly
when i open to the directory i cannot see the file because the . in front of the file

im not very sure how to open it through bash to edit it
not very sure i should mess with it without reading alot more
 
Old 10-26-2004, 02:51 PM   #4
Komakino
Senior Member
 
Registered: Feb 2004
Location: Somerset, England
Distribution: Slackware 10.2, Slackware 10.0, Ubuntu 9.10
Posts: 1,938

Rep: Reputation: 55
if you're in a shell (bash, for example) type:
ls -a
to show all files (including hidden files). Nautilus in gnome has an option (somewhere) to show hidden files. Can't speak for konquerer, I can't stand it
 
Old 10-26-2004, 02:56 PM   #5
Pyus
LQ Newbie
 
Registered: Oct 2004
Location: Cheyenne
Distribution: Mandrake
Posts: 14

Original Poster
Rep: Reputation: 0
ok

yah i got the ls -a dir -a down
im having trouble accessing the file to change it through bash

or finding it through konqueror file:/home/pyus
i guess my question would be how to edit the file to make my changes stick when i open the konsole

this is kinda my first linux experience and i figured if i started at the bash i could learn about the different distros all i wanted

thanks for your help and quick replies
i love this forum
 
Old 10-26-2004, 03:02 PM   #6
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 66
You just need to use a text editor like vi, pico, nano, emacs etc - eg:
vi ~/.bashrc
 
Old 10-26-2004, 03:11 PM   #7
Pyus
LQ Newbie
 
Registered: Oct 2004
Location: Cheyenne
Distribution: Mandrake
Posts: 14

Original Poster
Rep: Reputation: 0
Talking yah!

Thank You So Much

i knew how to open vimm and read a little about it but i couldnt open any files from the toolbars or anything
thanks very much again

btw ill prob have more stupid questions for you David so stay tuned
 
Old 10-27-2004, 02:21 PM   #8
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 66
Re: yah!

Quote:
Originally posted by Pyus
Thank You So Much

btw ill prob have more stupid questions for you David so stay tuned
No problem. I'm sure everyone here will be happy to help.
 
Old 10-27-2004, 02:29 PM   #9
LkNsngth
Member
 
Registered: Oct 2004
Location: The Milky Way
Distribution: SuSE Linux
Posts: 33

Rep: Reputation: 15
Type in ls in the directory you are in. If you want to change directory use cd directory.
Once you are in the directory of the program you want to execute type in : ./program
 
  


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
$LINENO can't be modified in bash 3.0, while it can be in bash 2.05b Darwish Linux - Software 1 11-07-2005 02:57 PM
bash my little bash alaios Linux - Newbie 4 01-10-2005 11:59 PM
bash + html + javascript or just bash ? rblampain Programming 4 12-01-2004 07:53 AM
why did bash 2.05b install delete /bin/bash & "/bin/sh -> bash"? johnpipe Linux - Software 2 06-06-2004 06:42 PM
Bash Half_Elf Linux - General 2 05-01-2002 06:39 PM


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