Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 04-14-2004, 12:55 AM   #1
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...
and one of the first things it gets you to do is
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?
Old 04-14-2004, 01:08 AM   #2
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:

-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
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 "


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 > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:11 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