LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Linux questions can someone help me? (https://www.linuxquestions.org/questions/linux-newbie-8/linux-questions-can-someone-help-me-787758/)

Guardian309 02-08-2010 07:02 AM

Linux questions can someone help me?
 
Can someone help me to answer this questions?


2. The task 1,3 s/\.s// means:
a. At the end of the rules 1 up to and including 3
b. removes the point at the end of the rule 1 and rule 3 removes the points
c. Replace the point at the end of the rules 1 up to and including 3 by \.
d. the task is syntactically incorrect

3. The task 4 means s/^h/H/:
a. Replace first h by a capital letter H
b. Replace in rule 4th first h in a capital letter H
c. Replace in rule 4 at the beginning of the rule the character h by a capital letter H
d. replace in rule four all h by a capital letter H

4. By the task 2 s/ee* /e/ becomes
a. rule 2 a sign shorter
b. Rule 2 two signs shorter
c. Rule 2 celebrates signs shorter
d. Rule 2 remains just as long

5. By the task 4 s/ee*//g
a. rule 4 two signs becomes shorter
b. Rule 4 three signs shorter
c. Rule 4 celebrates signs shorter
d. Rule 4 five signs shorter

6. The task 5 means s/v/V/g
a. Each v from the text by a capital letter V
b. replaces in rule 5th first by a capital letter V
c. replaces the first five v replaces by a capital letter V
d. none of above is correctly

7. The task 7 s/e*1e*/vele/ensures that
a. The pattern veeeeleeee in rule 7 is replaced vvele
b. the pattern veeeeleeee in rule 7 is replaced by a lot of
c. in rule 7 no pattern is recognised and nothing is modified.
d. the task is not correctly syntactically

8. The task 6/^$/d removes
a. the current rule
b. The whole text
c. The empty rule 6
d. Nothing

9. The task g/de/means s/de/een/g
a. The patterns `replace de' by `een'. in the current rule.
b. Replace in rule the 1 two word patterns `de' by `een'
c. The word patterns `replace de' by `een' in the whole text
d. Replace in the next rule in which the zoekpatroon `de' stand, all patterns `de' by `een'

10. The task /Dit/, 3w means traffic-jam:
a. The text block-system novice at the rule with the pattern `Dit' to rule 3 is kept in resistant the `file'
b. the text block-system novice at the rule with the pattern `Dit' up to and including rule 3 is kept in resistant the `file'
c. the text block-system novice after the rule with the pattern `Dit' up to and including rule 3 is kept in resistant the `file'
d. the text block-system novice after the rule with the pattern `Dit' up to and including rule 3 in resistant the `file' kept

11. For the text: *Hallo Mensen* on the display device finished t…. commando:
a. echo * hello people *
b. Echo \ * hello people *
c. Echo `* hello people *
d. Echo `* hello people *

12. The commando considers cat /etc/passwd | /bin....here is cat:
a. the commando
b. The input
c. Part of piping
d. Part of re direction



13. The commando considers cat /etc/passwd | /bin... is | /etc/passwd: a. the commando
b. The input
c. Part of piping
d. Part of re direction

14. The commando considers cat /etc/passwd | /bin... is | /bin/bash:
a. the commando
b. The input
c. Part of piping
d. Part of re direction

?. The commando considers cat /etc/passwd | /bin... is | /bin/bash > users are > users:
a. The commando
b. The input
c. Part of piping
d. Part of re direction


?. the commando considers cat/~/examples/example001.txt
a. This commando shows resistant example.001.txt from root-directory…. examples
b. This commando shows from the current directory resistant to the examp ..... from the sub-directory examples
c. this commando shows from the home directory resistant to the exampl… the sub-directory examples
d. this commando is syntactically incorrect




17. In my directory traffic-jams only stand. How do I get the contents of… fence?
a. cat *.*
b. cat @
c. cat *
d. cat @.@


18. I have Windows-filesysteem on my Unix- machine gemount on the directory /mnt/windows. I go to root-directory of that Windows - the traffic-jam system with the commando cd /mnt/windows. Now I want my documents to the directory. How do I do that?
a. cd my documents
b. cd my \ documents
c. cd my documents
d. cd my \ documents


19. Which commando tone the last 10 rules of resistant the passwd?
a. Tail -10 /etc/passwd
b. Tail +10 /etc/passwd
c. Tal 10/etc/passwd
d. Tal *10/etc/passwd



20. Which file name corresponds to m[ae]eten
a. maten
b. meten
c. maaten
d. meeten

Aquarius_Girl 02-08-2010 07:07 AM

You are supposed to tell what u tried for them ! Its not good to post your homework list for some one else to solve !

pixellany 02-08-2010 07:29 AM

Per the LQ Rules, please do not post homework assignments verbatim. We're happy to assist if you have specific questions or have hit a stumbling point, however. Let us know what you've already tried and what references you have used (including class notes, books, and Google searches) and we'll do our best to help. Also, keep in mind that your instructor might also be an LQ member.

Please feel free to start a new thread which follows these guidelines


All times are GMT -5. The time now is 11:20 AM.