Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Slackware This Forum is for the discussion of Slackware Linux.


  Search this Thread
Old 01-26-2006, 04:25 PM   #1
LQ Newbie
Registered: Sep 2004
Posts: 22

Rep: Reputation: 15
Unhappy /etc/profile (need help re-generating)

I inherited a working Linux, Slackware 2.2.16.
I have totally trashed the /etc/profile (by cat'ing from a file to a linked file--didn't know better, involving profile).

How can I generate what is needed, figure out what is needed to replace the /etc/profile?

I'm new to Linux and didn't set this machine up.

Old 01-26-2006, 04:46 PM   #2
Registered: Sep 2004
Location: UK, Europe
Distribution: Slackware64
Posts: 761

Rep: Reputation: 35
2.2.16 is a kernel version, not a Slackware version.

You are therefore probably running Slackware 7.1, this 7.1 etc package should contain a copy of /etc/profile that you can use (either reinstall that package, or extract the file from it).


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
generating random numbers in C abk4523 Programming 20 01-10-2011 05:08 PM
Generating excel with php rjcrews General 0 10-03-2005 09:22 PM
Generating A Script gizza23 Linux - Software 7 07-24-2005 08:33 PM
Generating Combinations of Objects oulevon Programming 1 05-08-2004 08:54 PM
Generating a CSR shaggz Linux - General 1 01-31-2003 12:56 PM > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 07:41 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration