linux-admin.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Inserting text in a specific file in a specific point
@ 2005-12-13 20:53 MARG
  2005-12-13 21:25 ` darren kirby
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: MARG @ 2005-12-13 20:53 UTC (permalink / raw)
  To: linux-admin

Hi,

My .bash_profile is:
----------------------
# .bash_profile

# Get the aliases and functions
if [ -f ~/.bashrc ]; then
	. ~/.bashrc
fi

# User specific environment and startup programs

PATH=$PATH:$HOME/bin

export PATH
unset USERNAME
----------------------------

What i'd like to do is from the command prompt or a bash script, insert
text after the line "PATH=$PATH:$HOME/bin".

I've searched the web and tried a few tricks, but one worked :(

Could you help me please ?

Wam Regards,
MARG

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2005-12-13 23:17 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-12-13 20:53 Inserting text in a specific file in a specific point MARG
2005-12-13 21:25 ` darren kirby
2005-12-13 22:20   ` MARG
2005-12-13 23:17     ` darren kirby
2005-12-13 21:40 ` Scott Taylor
2005-12-13 23:17 ` Glynn Clements

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).