Solved

SET WATCH

Posted on 1998-01-02
1
241 Views
Last Modified: 2010-04-21
UNIXer,

What is 'SET WATCH' ?

How can I uus it ?

Andrew
0
Comment
Question by:andrewyu
1 Comment
 
LVL 3

Accepted Solution

by:
braveheart earned 10 total points
Comment Utility
If it is in uppercase then it probably is not UNIX. If it is in lower case then it must refer to setting a shell variable to an unspecified value - it is a common technique to just set a shell variable, thereby creating it, then to check for its existence, using it as a boolean flag. As far as I know, the 'watch' variable has no special significance in any of the shells so it can only have meaning in some script that you are looking at.

I suppose that it might also be a debugger command setting a watchpoint on some variable so that its value is printed each time it changes.

If you have any more information I will gladly try to help you out.
0

Featured Post

How to improve team productivity

Quip adds documents, spreadsheets, and tasklists to your Slack experience
- Elevate ideas to Quip docs
- Share Quip docs in Slack
- Get notified of changes to your docs
- Available on iOS/Android/Desktop/Web
- Online/Offline

Join & Write a Comment

Let's say you need to move the data of a file system from one partition to another. This generally involves dismounting the file system, backing it up to tapes, and restoring it to a new partition. You may also copy the file system from one place to…
A metadevice consists of one or more devices (slices). It can be expanded by adding slices. Then, it can be grown to fill a larger space while the file system is in use. However, not all UNIX file systems (UFS) can be expanded this way. The conca…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.

763 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

7 Experts available now in Live!

Get 1:1 Help Now