LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (http://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   need some help,i need answers for these questions please.. (http://www.linuxquestions.org/questions/linux-newbie-8/need-some-help-i-need-answers-for-these-questions-please-656099/)

chidipudi 07-16-2008 06:15 AM

need some help,i need answers for these questions please..
 
1. Describe three different ways of setting the permissions on a file or directory to r--r--r--. Create a file and see if this works.

2) Experiment with the options on the ls command. What do the d, i, R and F options do?

3) Continue to explore the filesystem tree using cd, ls, pwd and cat. Look in /bin, /usr/bin, /sbin, /tmp and /boot. What do you see?

4) Change to the home directory of another user directly, using cd ~username.

5) Change back into your home directory.
Main Task
6) Make subdirectories called work and play.
7) Delete the subdirectory called work.

8) Copy the file /etc/passwd into your home directory.

9) Move it into the subdirectory play.

10) What is the difference between listing the contents of directory play with ls -l and ls -L?
11) Create a file called hello.txt that contains the words "hello world". Can you use "cp" using "terminal" as the source file to achieve the same effect?

12) Copy hello.txt to terminal. What happens?

13) How would you create and then delete a file that begins with the symbol #? Try it.

14) How would you create and then delete a file that begins with the symbol -? Try it.


15) Experiment with the options on the ls command. What do the d, i, R and F options do?
16) Modify the permissions on your home directory to make it completely private.

brianL 07-16-2008 06:21 AM

You can find all the answers to your homework questions by reading the man pages, it's easy.

chrism01 07-16-2008 06:21 AM

Homework: http://catb.org/~esr/faqs/smart-questions.html. See also LQ rules

bashyow 07-16-2008 07:23 AM

chidipudi is so lazy he hasnt even bothered to disguise the fact he wants us to do HIS homework.

Quote:

Originally Posted by brianL (Post 3216255)
You can find all the answers to your homework questions by reading the man pages, it's easy.

i used to avoid a prog/command's man page like it was the plague. im quite fond of them now lol

pixellany 07-16-2008 08:00 AM

chidipudi;

My experience with this kind of homework question is that we will never hear from you again. If you can still hear US, then at least hear this: Even if someone were to take the bait this time and do your work for you, your approach does not give me much hope that you will succeed in this field---with or without whatever degree or certificate you are pursuing.

If you do respond back, please tell us if you bothered to try any of the exercises you listed.

resetreset 07-16-2008 01:08 PM

you need to the ANSWER to the question "Change to the home directory of another user directly, using cd ~username."? my god, some people....


All times are GMT -5. The time now is 11:45 PM.