Can anybody help me with coursework

 
Thread Tools Search this Thread
Homework and Emergencies Homework & Coursework Questions Can anybody help me with coursework
# 1  
Old 01-27-2010
Can anybody help me with coursework

This is the coursework, in Technical University Sofia, Bulgaria prof. Koshmarov, sorry but the link to the course is broken. And this is the condition:
Code:
1. If the value of x is 5, and you have been set a new value as such 
       x="expr $x + 10", What would be the value of x? 
What would be the new value of the given variable if you had used single quotation marks and what should you do to obtain the same value in case of double quotation marks use? 
   
      2. Explain what would be the result of execution of the following command
       $ `date` 
   
      3. In the command prompt set the following value of the variable x:
         x='ls | more' или set x='ls | more' (C shell)
         Can you execute $x? Why?
         What is the difference between directory='pwd' and directory=`pwd`.
   
      4. How can you interprete the command
         set - *
         within a command procedure?
   
      5. If a given script is executed as foo -l -t bar[1-3], What would be the values of $# and $*? Will there be a difference if the options are combined?
   
      6. Write a script that archives the files in the current directory not being modified in the last six months. 
  (Instruction: Use the commands find and tar or cpio.)

Just one of these helps me very much.
Thank you people!
# 2  
Old 01-27-2010
Please read the guidelines for posting homework and repost.

Thank You.

The UNIX and Linux Forums.
Login or Register to Ask a Question

Previous Thread | Next Thread

4 More Discussions You Might Find Interesting

1. Post Here to Contact Site Administrators and Moderators

About Rules for Homework & Coursework Questions Forum

Hi, in my case, I have a question for topics that are slightly dealt with in class, which I am investigating on my own but which are not directly related to the lessons. Do I have to put the name of the school and others? (I can't put the name of the professor because is against the school rules... (2 Replies)
Discussion started by: Naky
2 Replies

2. Homework & Coursework Questions

Coursework for to while

Use and complete the template provided. The entire template must be completed. If you don't, your post may be deleted! 1. The problem statement, all variables and given/known data: The problem i have would be printf("Average of %u values is %f.\n",n (n == 0) ? 0.0 : (double) sum / n); in the... (4 Replies)
Discussion started by: mgyeah
4 Replies

3. Homework & Coursework Questions

Community Spirit and Ethos on Homework & Coursework

Helping students is in line with the "community spirit" ethos of The UNIX and Linux Forums which aims to give free help and advice in order to support the personal and professional development of others. We encourage students to think carefully about what they do, and do not, understand about... (0 Replies)
Discussion started by: Neo
0 Replies

4. Homework & Coursework Questions

Rules for Homework & Coursework Questions Forum

Homework Help: On Posting Questions: Any and all high school and undergraduate homework assignments or textbook style exercises for which you are seeking assistance are to be posted only in our Homework & Coursework Questions area--not in blogs, visitor messages, PMs, or the main technical... (0 Replies)
Discussion started by: Neo
0 Replies
Login or Register to Ask a Question