How can one change their path statement in Ubuntu?

Gotta tell you…I'm loving learning Linux, but this freaking path statement is making me a bit perplexed. Coming from a NetWare, Windows Server background, some of this Linux stuff seems overly complicated.

I've been Googling trying to figure out how to change my path statement in Ubuntu, and haven't found anything that works yet or makes sense. The linux gurus out there just don't understand that we new guys need a little more description.

On Ubuntu 8.04 and trying to add 'apps/drash' to the path statement.

1 Reply

Found something that worked - I put the below in /root/.bashrc:

export PATH=/path/to/dir:$PATH

And I think that work because when I type a command in that folder it tells me access denied now….so at least that is a new problem!

Reply

Please enter an answer
Tips:

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct