LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
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 10-09-2011, 11:10 AM   #1
infernocy
LQ Newbie
 
Registered: Oct 2011
Posts: 3

Rep: Reputation: Disabled
some questions on debian


basically i have a practical exam on debian and i want to clarify two questions
Consider the following URL used to retrieve a file:
http://www.xyz.org/~smith/docs/page.html
where “smith” is an account on www.xyz.org and has home directory /home/smith. What
is the most likely pathname for the file page.html in the filesystem of www.xyz.org if it
is a Linux system running an Apache web server?
(a) /home/smith/public html/docs/page.html
(b) /home/smith/public html/page.html
(c) /home/smith/docs/page.html
(d) /home/smith/docs/public html/page.html
(e) /var/www/docs/page.html

and

You have just downloaded a disk image to /tmp/debian-version7-test.iso so if you are
in your home directory, which of the following commands is most likely to burn it correctly
onto a CD?
(a) wodim -v dev=/tmp/debian-version7-test.iso speed=32 debian-version7-test.iso
(b) wodim -v dev=/dev/scd0 speed=32 /tmp/debian-version7-test.iso
(c) wodim -v dev=/dev/scd0 speed=48 debian-version7-test.iso
(d) wodim -v dev=/tmp/debian-version7-test.iso speed=32 /dev/cd
(e) wodim -v dev=/dev/scd0 speed=12 /tmp/debian-version7-test

1) if public_html the main file is gos throw then is if i am correct its a

2)the command given in the example used in the tutorial was wodim -v -eject speed=48 dev=/dev/scd0 debian.iso , i dont understand how this works but based on the tutor it similar with c

Last edited by infernocy; 10-09-2011 at 11:11 AM.
 
Old 10-09-2011, 11:17 AM   #2
Ian John Locke II
Member
 
Registered: Mar 2008
Location: /dev/null
Distribution: Slackware, Android, Slackware64
Posts: 130

Rep: Reputation: 17
I believe you're correct about the first question. Generally what I've seen is that debian/ubuntu/slackware distributions use ~username where all the html files and sub-directories are in /home/username/public_html/. (b) would be the answer if the url were www.xyz.org/~smith/page.html if that helps at all.

For the second command, I've never seen speed=48 used, but then I'd use cdrecord myself. On top of that, option (c) will give you a file not found error (or something along those lines) since you're telling it debian-version7-test.iso is in the current working directory and not /tmp. Since the device you're burning it to should be /dev/scd0 that narrows it down to (b) and (e). If you can tell me which of those two you think is correct, I'll tell you if you're right or wrong, based off my best guess (since I don't use wodim).
 
Old 10-09-2011, 11:27 AM   #3
sycamorex
LQ Veteran
 
Registered: Nov 2005
Location: London
Distribution: Slackware64-current
Posts: 5,811
Blog Entries: 1

Rep: Reputation: 1191Reputation: 1191Reputation: 1191Reputation: 1191Reputation: 1191Reputation: 1191Reputation: 1191Reputation: 1191Reputation: 1191
1) Yes, it's most likely A. The user's public_html can be specified in /etc/httpd/extra/httpd-userdir.conf (at least on Slackware)
 
Old 10-09-2011, 11:36 AM   #4
infernocy
LQ Newbie
 
Registered: Oct 2011
Posts: 3

Original Poster
Rep: Reputation: Disabled
bump

Last edited by infernocy; 10-09-2011 at 12:32 PM.
 
Old 10-09-2011, 11:37 AM   #5
Nylex
LQ Addict
 
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Rep: Reputation: Disabled
Re-read the question:

Quote:
Originally Posted by infernocy View Post
You have just downloaded a disk image to /tmp/debian-version7-test.iso so if you are
in your home directory
, which of the following commands is most likely to burn it correctly
onto a CD?
 
Old 10-10-2011, 10:19 AM   #6
Ian John Locke II
Member
 
Registered: Mar 2008
Location: /dev/null
Distribution: Slackware, Android, Slackware64
Posts: 130

Rep: Reputation: 17
I like how everyone except OP lists Slackware as their distribution of choice on here. While completely unrelated, I still find it somewhat entertaining.
 
Old 10-10-2011, 10:24 AM   #7
Nylex
LQ Addict
 
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Rep: Reputation: Disabled
It seems irrelevant to me, as the questions aren't really Debian related. From what I know, wodim is a fork of cdrecord.

I notice the OP edited their last post after I posted, which presumably means they saw my post. infernocy, can you now work out the answer to the second question yourself? What Ian John Locke II wrote in post 2 is also relevant.
 
Old 10-10-2011, 02:20 PM   #8
Ian John Locke II
Member
 
Registered: Mar 2008
Location: /dev/null
Distribution: Slackware, Android, Slackware64
Posts: 130

Rep: Reputation: 17
Quote:
Originally Posted by Nylex View Post
It seems irrelevant to me, as the questions aren't really Debian related. From what I know, wodim is a fork of cdrecord.

I notice the OP edited their last post after I posted, which presumably means they saw my post. infernocy, can you now work out the answer to the second question yourself? What Ian John Locke II wrote in post 2 is also relevant.
I know that. I was just surprised that no debian users replied.
 
Old 10-10-2011, 02:55 PM   #9
infernocy
LQ Newbie
 
Registered: Oct 2011
Posts: 3

Original Poster
Rep: Reputation: Disabled
the answer in question 2 is b)


since its from the home directory we need to take the iso image from tmp so /tmp/debian-version7-test.iso is the answer , the difference in speed not relevant , its just there to confuse us

Last edited by infernocy; 10-10-2011 at 03:04 PM.
 
Old 10-10-2011, 03:23 PM   #10
Ian John Locke II
Member
 
Registered: Mar 2008
Location: /dev/null
Distribution: Slackware, Android, Slackware64
Posts: 130

Rep: Reputation: 17
Well it kind of is, but I won't pick nits.
 
  


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
Some questions about Debian Score Debian 62 01-18-2007 06:15 AM
a few questions about using debian Michael_aust Debian 8 03-16-2006 05:43 PM
New to Debian, a few questions MaTrIx709 Linux - Newbie 6 04-05-2005 10:32 AM
Debian Questions elias4444 Debian 7 10-29-2004 11:00 PM
Questions about Debian mrsolo Linux - Newbie 19 05-10-2003 01:00 AM


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