LinuxQuestions.org
Help answer threads with 0 replies.
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 04-14-2004, 12:55 AM   #1
johntramp
Member
 
Registered: Sep 2003
Location: Christchurch, New Zealand
Distribution: Gentoo / Slackware
Posts: 72

Rep: Reputation: 15
noobi3 question...


I was reading how to share over samba in knoppix from this site...
http://www.knoppix.net/docs/index.php/FaqSambaQuick
and one of the first things it gets you to do is
Quote:
now you create a file out of the link smb.conf:

'cp smb.conf smb1.conf'
'rm smb.conf' confirm with 'y'
'mv smb1.conf smb.conf'
can someone tell me what the piont in this is?
thanks
 
Old 04-14-2004, 01:08 AM   #2
itsme86
Senior Member
 
Registered: Jan 2004
Location: Oregon, USA
Distribution: Slackware
Posts: 1,246

Rep: Reputation: 59
smb.conf originally is a symbolic link. Doing that process gives you a real smb.conf file.

Doing 'ls' might show something like this:

Code:
-rw-r--r--    1 root     root            0 Apr 13 22:05 file1
-rw-r--r--    1 root     root            0 Apr 13 22:05 file2
lrwxrwxrwx    1 root     root            5 Apr 13 22:05 smb.conf -> file1
file1 and file2 would have different types of configurations or something. You can think of a symbolic link as something similar to a shortcut in Windows. But anyway, after doing the process you quoted, smb.conf would be a real file containing the contents of whatever file it used to point to.

This is just a guess, but I can't think of any other reason to have you do what you described
 
Old 04-14-2004, 02:32 AM   #3
johntramp
Member
 
Registered: Sep 2003
Location: Christchurch, New Zealand
Distribution: Gentoo / Slackware
Posts: 72

Original Poster
Rep: Reputation: 15
oh i understand, and thatl be what is ment by "create a file out of the link "
-thanks
 
  


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
Question, Apples Contribution to Open Source + MacOs file structure question Higgy3k Other *NIX 5 07-25-2005 05:23 AM
Not your regular GRUB question - just a short question for a fried MBR!! ziphem Linux - General 3 01-31-2005 02:51 PM
2 part question: Speeding up MDK9.1/GNOME question wardialer Linux - Newbie 6 10-14-2004 04:16 PM
Question 1 Firewall Log Question 2 Network Monitor Soulful93 Linux - Networking 4 08-05-2004 12:05 AM
login prompt question & kde scheme question JustinCoyan Slackware 2 06-09-2004 03:02 PM


All times are GMT -5. The time now is 09:56 AM.

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