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-26-2014, 09:22 PM   #16
timl
Member
 
Registered: Jan 2009
Location: Sydney, Australia
Distribution: Fedora,CentOS
Posts: 582

Rep: Reputation: 127Reputation: 127

Hi Den, I haven't checked all the links in this post so I suggest you read those first. However, I found myself in a similar predicament to yourself last year and I bookmarked this guide:

http://jehurst.wordpress.com/2011/01...-samba-server/

So. although the smb.conf file may look daunting, there are not really all that many steps to take. A mistake I always make is to miss out some of the switches noted in the commands. EG for

Code:
useradd -c "Real Name" -d /home/samba-username -s /sbin/nologin samba-username
I have noted:

Quote:
note the switches. If you don't include -c, -d, -a this will not work. Remember to check for errors
This may seem like an extra level of complexity but, if you can, try this out on a virtual machine first and make a few mistakes. Easier to wipe the whole machine and start again than mess with your "real" system.

I think the Samba concept is worth pursuing. There are 2 students in my house who access files from a few places but the files are stored on my server which is backed up. An awful lot of confidence knowing that their studies are not just going to get lost sometime. I also have all household stuff on the server so I am building up a repository of useful info which will be there long after the various computers are phased out.

Cheers
 
Old 04-26-2014, 09:53 PM   #17
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware
Posts: 6,429
Blog Entries: 6

Rep: Reputation: Disabled
For what it's worth I started reading this book and it has helped me a GREAT deal in understanding Fedora and Red Hat.
It would give you some good wisdom and knowledge den9877; if you have the time.

"Practical Guide To Fedora And Red Hat Enterprise Linux" 7th Edition.
 
Old 05-07-2014, 09:41 AM   #18
den9877
LQ Newbie
 
Registered: Apr 2014
Posts: 16

Original Poster
Rep: Reputation: Disabled
I have another questions about linux directories. this doesnt have anything to do with the above question. this might be a dumb question. I am having a hard time understanding the directories in linux. Can someone explain how the directories have directories in them.
Thanks
 
Old 05-07-2014, 10:31 AM   #19
den9877
LQ Newbie
 
Registered: Apr 2014
Posts: 16

Original Poster
Rep: Reputation: Disabled
I have another question. Can someone expalain how linux can have directories in directories. I am having a hard time understanding the directory system. I think its because of to much windows in my life.
Thanks
 
Old 05-07-2014, 10:49 AM   #20
michaelk
Moderator
 
Registered: Aug 2002
Posts: 14,958

Rep: Reputation: 1530Reputation: 1530Reputation: 1530Reputation: 1530Reputation: 1530Reputation: 1530Reputation: 1530Reputation: 1530Reputation: 1530Reputation: 1530Reputation: 1530
Not sure I fully understand your question.

Windows is capable of creating sub-directories just like linux. The major difference is that there is only one directory structure i.e. linux does not have separate drives like c: or d: etc. Everything falls under root (/). In addition file systems are attached to the tree so a directory can be a mount point. External drives typically are automatically mounted to a sub-directory in /media/

Here is a beginners guide to linux.
http://tinf2.vub.ac.be/~dvermeir/manual/linux/rute.pdf‎

Last edited by michaelk; 05-07-2014 at 10:52 AM.
 
Old 05-07-2014, 01:08 PM   #21
den9877
LQ Newbie
 
Registered: Apr 2014
Posts: 16

Original Poster
Rep: Reputation: Disabled
I quess i am confused because in the tutorails i read they say change to directory and when i use l it shows directories in the directory I am in. I am having a hard time figuring out how to switch to directories and open files.
 
Old 05-07-2014, 01:11 PM   #22
szboardstretcher
Senior Member
 
Registered: Aug 2006
Location: Detroit, MI
Distribution: GNU/Linux systemd
Posts: 3,836

Rep: Reputation: 1360Reputation: 1360Reputation: 1360Reputation: 1360Reputation: 1360Reputation: 1360Reputation: 1360Reputation: 1360Reputation: 1360Reputation: 1360
Type

Code:
pwd
To show your current directory. That is the directory you are in.

Type

Code:
ls
To list any directories and files under the directory you are in.

Type

Code:
cd directoryname
To change to another directory under your current directory

Type

Code:
cd ..
To change to the directory above the directory you are in. Also called 'backing out' one directory.

Last edited by szboardstretcher; 05-07-2014 at 01:12 PM.
 
1 members found this post helpful.
Old 05-07-2014, 02:22 PM   #23
den9877
LQ Newbie
 
Registered: Apr 2014
Posts: 16

Original Poster
Rep: Reputation: Disabled
thanks for the reply. I think I am starting to get it. I was thinking you cant have a directory under a directory. I was thinking it had to be called a subdirectory or something like that. This all came about because i was trying to install a printer and had to download a driver. The instructions for the driver said to navigate to the download file. I just cant figure out how to get to the file.I can find the file in the gui but instructions tell how to install it from the terminal. I can get to the directory that shows the downloads file but i cant open the download file to find the driver file. I hope this makes sense.I think what i need is a linux for dummies. I tried the link above. i got a 404 error. any one have any other ideas for a very new newbie book or tutorail. Thanks
 
Old 05-07-2014, 02:51 PM   #24
michaelk
Moderator
 
Registered: Aug 2002
Posts: 14,958

Rep: Reputation: 1530Reputation: 1530Reputation: 1530Reputation: 1530Reputation: 1530Reputation: 1530Reputation: 1530Reputation: 1530Reputation: 1530Reputation: 1530Reputation: 1530
Sorry about that. Here is another guide.
http://www.tldp.org/LDP/gs/node5.html

What is the name of the file? I assume it will be a compressed file of some sort i.e. tar,tgz or zip. Depending on type of file we can explain how to un-whatever. From there you should be able to follow the instructions.
 
1 members found this post helpful.
Old 05-08-2014, 06:25 AM   #25
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.8, Centos 5.10
Posts: 17,241

Rep: Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325
Its best to tell us which printer you were trying to install, then we can help you.

There are lots of full on manuals at www.linuxtopia.org.
 
1 members found this post helpful.
Old 05-08-2014, 09:33 AM   #26
den9877
LQ Newbie
 
Registered: Apr 2014
Posts: 16

Original Poster
Rep: Reputation: Disabled
The printer I am trying to install is a hp 3510. The problem I am having though is navigating and opening the install file.The file name is hplip 3.14.4.run. The help file says to navigate to the downloads file and run a command. As I said I am having trouble getting to the download file.
Thanks
 
Old 05-08-2014, 09:56 AM   #27
michaelk
Moderator
 
Registered: Aug 2002
Posts: 14,958

Rep: Reputation: 1530Reputation: 1530Reputation: 1530Reputation: 1530Reputation: 1530Reputation: 1530Reputation: 1530Reputation: 1530Reputation: 1530Reputation: 1530Reputation: 1530
If you can navigate via the GUI then you should be able to see the full directory path.
In a console window use the cd command i.e.
cd /path/to/download

To execute file
./hplip_3.14.4.run (if that is the real exact file name. You might have to change permission to make it executable)
 
1 members found this post helpful.
Old 05-08-2014, 10:26 AM   #28
den9877
LQ Newbie
 
Registered: Apr 2014
Posts: 16

Original Poster
Rep: Reputation: Disabled
Ok, I went to the gui found the path. The path is cd /home/username and when i put in ls it list downloads. If I type cd /home/username/downloads it says no file found.

Last edited by den9877; 05-08-2014 at 10:37 AM.
 
Old 05-08-2014, 10:37 AM   #29
michaelk
Moderator
 
Registered: Aug 2002
Posts: 14,958

Rep: Reputation: 1530Reputation: 1530Reputation: 1530Reputation: 1530Reputation: 1530Reputation: 1530Reputation: 1530Reputation: 1530Reputation: 1530Reputation: 1530Reputation: 1530
I would expect downloads to be a sub-directory.
So
cd /home/username/downloads
Then try ls
 
1 members found this post helpful.
Old 05-08-2014, 10:52 AM   #30
den9877
LQ Newbie
 
Registered: Apr 2014
Posts: 16

Original Poster
Rep: Reputation: Disabled
I tried that. I believe That line is what i posted before. I tried it again. I can go to home/username but when i put in cd /home/username/downloads. The terminal comes back with no file or directory found.
 
  


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
I want to learn Linux alihaiders Linux - Newbie 17 01-17-2013 08:04 AM
[SOLVED] Can I learn Centos 6 from a redhat book? kb2tfa Red Hat 4 03-22-2012 08:24 AM
how do you learn about Linux bobtom Linux - Newbie 6 07-12-2007 07:54 AM
Learn redhat ES on CentOS or Fedora? walterbyrd Linux - Certification 3 10-07-2006 08:05 AM


All times are GMT -5. The time now is 03:48 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration