LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 01-28-2005, 05:40 PM   #1
digitalbrush
LQ Newbie
 
Registered: Dec 2004
Distribution: Red Hat 9
Posts: 4

Rep: Reputation: 0
Huge /etc/profile problem in Slackware 10.0


Hello, everyone. Could I request anyone to tell me the Slackware $PATH for me in /etc/profile? I thought I could start a program without having to set a PATH for that certain directory every time by editing /etc/profile and.. the ONLY command I could use was the program command that I put on /etc/profile. There should be only one line that shows up (it's somewhere in the top) I probably shouldn't of edited that file without completely learning about it

Example in vi PATH:

PATH=$PATH:/mystupidity/etc/etc
PATH=$PATH:/Path that lets me use vim command along with everything else

What I figure I could do is once I'm logged in, set the PATH to the old one, allowing me to re edit /etc/profile to allow me to use commands like ls (PATH works for some reason)

Last edited by digitalbrush; 01-28-2005 at 05:41 PM.
 
Old 01-28-2005, 05:42 PM   #2
egag
Senior Member
 
Registered: Jul 2004
Location: Netherlands
Distribution: Slackware
Posts: 2,721

Rep: Reputation: 53
you mean this ?

--------------
# Set the default system $PATH:
PATH="/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/usr/games"
--------------

egag
 
Old 01-28-2005, 05:48 PM   #3
digitalbrush
LQ Newbie
 
Registered: Dec 2004
Distribution: Red Hat 9
Posts: 4

Original Poster
Rep: Reputation: 0
Yes, profile has been edited and its all back to normal. Thank you
 
Old 01-28-2005, 05:52 PM   #4
egag
Senior Member
 
Registered: Jul 2004
Location: Netherlands
Distribution: Slackware
Posts: 2,721

Rep: Reputation: 53
...always welcome....

egag
 
  


Reply



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
help deleted /etc/profile slackware 10 rickict Slackware 11 04-08-2005 10:36 PM
What is /etc/profile.d in Slackware 10? rsamurti Slackware - Installation 1 10-17-2004 11:47 PM
Huge Huge Problem With Forums!!! The_Insomniac Linux - General 1 06-07-2004 08:15 AM
Huge icons and no wireless slackware 9.0 jzneff Linux - Newbie 2 03-26-2004 08:01 PM
Huge problem: Slackware 8.1, the file 'crt1.o' is totally missing fern Linux - General 11 07-11-2002 12:15 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 04:17 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
Open Source Consulting | Domain Registration