Sponsored Content
Top Forums UNIX for Dummies Questions & Answers Homework questions, book is lacking answers? Post 302464623 by KyleBucket on Wednesday 20th of October 2010 02:37:10 PM
Old 10-20-2010
Question Homework questions, book is lacking answers?

Hey you guys,

There's a couple questions I cannot find the answers to anywhere in this book for my Operating Systems class, hopefully you guys could help. I believe we are in the Bourne shell.


1. Match each description to the appropriate type of variable

Used in shell programs

Also called personal variables

Also called standard shell variables

Always completely capitalized


A. Environment variables
B. User-created variables
C. Positional parameters

2. Which of the following is the appropriate command to change the value of the environment variable PATH so it retains everything that was in it before, but so that it will have /scripts appended to the end of it?

PATH=$PATH:/scripts
$PATH=PATH:/scripts
PATH=$PATH + /scripts
$PATH=PATH + /scripts


3. You wish to run a script named myscript which is located in the directory /scripts. The directory is NOT contained in the PATH environment variable's value, nor do you wish to make it so. In order to execute the script, you could type the following on the command line:
___________ /scripts/myscript
 

8 More Discussions You Might Find Interesting

1. Solaris

expecting answers for these questions?

hi all plese clarify me in the following area. 1. What is the default NFS version in solaris 5.10. If it is 3, then why it asks me to specify "-o vers=3" keyword while i am mounting a share from a RHEL 5.1 Server? 2. Can someone give the link to download packages for accessing "ntfs"... (4 Replies)
Discussion started by: kingston
4 Replies

2. Solaris

solaris 10 OS administration interview questions and answers

Hello, I am new to this forum and I am preparing for interview .Kindly can anybody send me Solaris 10 OS administration interview questions and answers (2 Replies)
Discussion started by: meet2muneer
2 Replies

3. Solaris

Please give answers for this interview questions

I was not able to get answers for these interview questions. It will be appreciable and useful if any one answers this questions. (5 Replies)
Discussion started by: Sesha
5 Replies

4. Post Here to Contact Site Administrators and Moderators

Eric's Questions and Answers Blog

I hope this is ok so I will ask if I may use this thread to ask questions about programming. May I use this thread to ask questions and answer questions? If the answer is yes, this is a thread made for minimizing the amount of threads I post to ask questions about programming. Please feel... (3 Replies)
Discussion started by: Errigour
3 Replies

5. UNIX for Advanced & Expert Users

Interview questions and answers on HP Unix administration

Hi, Can some body help me to get Interview questions and answers on HP Unix administration? Thanks Krsnadasa (1 Reply)
Discussion started by: krsnadasa
1 Replies

6. Shell Programming and Scripting

Select answers from multiple questions using shell script

I have a text file in this format Some lines.... Question no: 1 The question? A. Answer 1 B. Answer 2 C. Answer 3 D. Answer 4 Answer:B Some lines.... Question no: 2 The question? (choose 2) (10 Replies)
Discussion started by: zorrox
10 Replies

7. UNIX for Beginners Questions & Answers

Answers for few objective questions.

Hi Unix geniuses, I need your help for the answers of few objective Q&A. i dont know if my answers are correct or not. So i really need your help to provide the answers which will help me in unix programming. (1 Reply)
Discussion started by: Vivekit82
1 Replies

8. What is on Your Mind?

Answers to Recently Asked Questions about UNIX.COM

Here are some answers to some of the recent questions I have received about UNIX.COM. So, I thought I would take time to answer them here in this post: Is it expected that the original poster "thank" everyone who responds to his / her discussion thread? It is always a good practice in all... (7 Replies)
Discussion started by: Neo
7 Replies
doctools_lang_faq(3tcl) 					Documentation tools					   doctools_lang_faq(3tcl)

__________________________________________________________________________________________________________________________________________________

NAME
doctools_lang_faq - doctools language faq DESCRIPTION
OVERVIEW
WHAT IS THIS DOCUMENT? This document is currently mainly a placeholder, to be filled with commonly asked questions about the doctools markup language and compan- ions, and their answers. Please report any questions (and, if possible, answers) we should consider for this document in the category doctools of the Tcllib SF Trackers [http://sourceforge.net/tracker/?group_id=12883]. EXAMPLES
WHERE DO I FIND DOCTOOLS EXAMPLES? The most examples of doctools markup currently known can be found in the Tcllib and Tklib package bundles where basically the documentation of all packages is written in it. In Tcllib you will also find the sources for the doctools documentation themselves, which makes use of nearly all of the available markup commands. You need one of [1] A CVS snapshot of Tcllib. How to retrieve such a snapshot and the tools required for this are described at http://source- forge.net/cvs/?group_id=12883 [2] A Tcllib release archive. They are available at http://sourceforge.net/project/showfiles.php?group_id=12883 BUGS, IDEAS, FEEDBACK This document, will undoubtedly contain bugs and other problems. Please report any such in the category doctools of the Tcllib SF Trackers [http://sourceforge.net/tracker/?group_id=12883]. Please also report any ideas for enhancements you may have for either the package and/or the documentation. SEE ALSO
doctools_lang_cmdref, doctools_lang_intro, doctools_lang_syntax KEYWORDS
doctools commands, doctools language, doctools markup, doctools syntax, examples, faq, markup, semantic markup CATEGORY
Documentation tools COPYRIGHT
Copyright (c) 2007 Andreas Kupries <andreas_kupries@users.sourceforge.net> doctools 1.0 doctools_lang_faq(3tcl)
All times are GMT -4. The time now is 12:56 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy