Share your knowledge at the LQ Wiki.
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 10-22-2007, 09:55 AM   #1
LQ Newbie
Registered: Oct 2007
Posts: 1

Rep: Reputation: 0
Exclamation URGENT - Help me

Please can you give an asnwer to these questions.
I've never worked on linux before so I find it hard to understand it.
Please help me!!!

1.Joe's current public_html directory currently only grants him and only him full rights.
What command should be issued to grant his domain and the world read and execute rights, but not write privileges?

2.After Joe has switched to public_html, Joe wants to get a listing of the directory's contents. Joe wants not only to see the contents, but would like to show all file detail (including permissions) and would like to show the directory listing page-by-page (just in case the listing can't fit on one page).
What command would Joe type?

3. The object "index.html" is a file in the public_html/personal/ directory.
Which command would Joe issue to give the default permissions for that file?

4.Joe now wants to make a copy of the file blue_stone.jpg from the public_html/academic/images directory to the public_html/personal/genealogy/images directory. Also, Joe wants to name the copy lt_blue_stone.jpg.
How can both of these tasks be accomplished using a single command?

5.Joe graduated and now wants to delete his public_html/academic directory. To do this, he must first be sure that all of the sub-directories and public_html/academic itself are cleared of any remaining files.
In order, which commands would Joe use to finally get rid of
public_html/academic and be sure that all files in it and each sub-directory are deleted first? Assume that all child directories of public_html/academic have no sub-directories of their own.

Old 10-22-2007, 10:10 AM   #2
ReliaFree Maintainer
Registered: Aug 2004
Location: Kalamazoo, Michigan
Distribution: Slackware 14.2
Posts: 2,815
Blog Entries: 1

Rep: Reputation: 261Reputation: 261Reputation: 261
Looks suspiciously like homework. You did read the LQ Rules when you registered, didn't you?
Originally Posted by LQ Rules
Do not expect LQ members to do your homework - you will learn much more by doing it yourself.
Old 10-22-2007, 10:13 AM   #3
LQ Veteran
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809

Rep: Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743
this is the worst possible way to ask for help on homework---cut and paste from the assignment sheet. You show no evidence of even trying.
If you have "never worked on Linux", why would someone be giving you this assignment????
Old 10-22-2007, 10:30 AM   #4
LQ Guru
Registered: Aug 2003
Distribution: CentOS, OS X
Posts: 5,131

Rep: Reputation: Disabled
Two advices on how to start solving those:
1) All commands (that I can think of) are documented on Linux, somehow. Most of them are documented in 'man' or 'info' pages. Those reside on a Linux machine usually, but are accessible in the web too. If you want a task done, you'll first search (in the web for example, if you're too lazy to read a book heh) for a command that sounds like it does what you want, and then read it's documentation to get a grasp of how it works. So, for example about permissions changement you would do a search for "Linux change permissions", get a lot of pages that talk about a command called 'chmod', and then you'd find out how that command works; for example by searching for 'man chmod' (manual page for 'chmod'). After reading the manual page you'll maybe want to test it, so get your hands on a Linux installation and see how it works. Or just search for an example if you like.

2) If you have no idea how to proceed, ask your teacher/tutor. That person is the one who is your first guide. If that won't help, you can ask here too, but don't expect direct answers; rather try to solve the problem, face a troublematic situation, present it here along with information on how you tried to solve it (and what caused a failure), and then wait for advices.

If you don't have a Linux machine, your teacher/tutor can't provide you with an access to one, you aren't going to buy or loan any books about Linux, you're too lazy to do a web search for documents and examples and just don't think it's worth it spending some time with your homework...then I guess you're not willing to get the course done from which you got this homework. If you want to pass the course, it means you need to do your homework to understand something about the subject, and it means you're going to do it yourself. Others (like we) can help you back to your boat if you happen to fall from it, but don't expect us to drag it to the harbour for you.
Old 10-22-2007, 10:54 AM   #5
Registered: Nov 2002
Location: Kent, England
Distribution: Debian Testing
Posts: 19,192
Blog Entries: 4

Rep: Reputation: 475Reputation: 475Reputation: 475Reputation: 475Reputation: 475
Quite apart from the responses above, you have put this in the wrong forum. I have moved it to Linux-Newbie.

Please note - we do not answer your homework questions for you. We can provide links to documents, but as most of us have been through school we will not reattend to help you out!
Old 10-22-2007, 10:59 AM   #6
LQ Newbie
Registered: Jul 2005
Posts: 8

Rep: Reputation: 0
Lazy A$$...


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
boot sector and lilo collapse !!!!! URGENT URGENT URGEN !!!!! frelihm Linux - Software 21 12-02-2009 11:21 AM
Urgent Question Regarding Urgent Questions! Need Help Now! Crashed_Again LQ Suggestions & Feedback 11 10-17-2007 09:07 PM
Urgent..Im Having A Nightmare..Urgent!!!! midgcool Linux - Software 41 11-30-2004 11:19 AM
Very Urgent Software Linux - Software 8 03-28-2004 10:02 PM
Urgent Urgent !!!! Mozilla Keeps All Your Deleted Emails !!!! odin123 Linux - Software 2 01-31-2004 03:22 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:33 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
Open Source Consulting | Domain Registration