Solved

SET WATCH

Posted on 1998-01-02
1
245 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
ID: 2008500
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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Attention: This article will no longer be maintained. If you have any questions, please feel free to mail me. jgh@FreeBSD.org Please see http://www.freebsd.org/doc/en_US.ISO8859-1/articles/freebsd-update-server/ for the updated article. It is avail…
Using libpcap/Jpcap to capture and send packets on Solaris version (10/11) Library used: 1.      Libpcap (http://www.tcpdump.org) Version 1.2 2.      Jpcap(http://netresearch.ics.uci.edu/kfujii/Jpcap/doc/index.html) Version 0.6 Prerequisite: 1.      GCC …
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…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…

840 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