Expiring Today—Celebrate National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

SET WATCH

Posted on 1998-01-02
1
Medium Priority
?
250 Views
Last Modified: 2010-04-21
UNIXer,

What is 'SET WATCH' ?

How can I uus it ?

Andrew
0
Comment
Question by:andrewyu
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 3

Accepted Solution

by:
braveheart earned 20 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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

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…
Every server (virtual or physical) needs a console: and the console can be provided through hardware directly connected, software for remote connections, local connections, through a KVM, etc. This document explains the different types of consol…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
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…
Suggested Courses

730 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