From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <102653646721694.tru64-unix-managers.marc@archive.invalid> From: "richard n. frank" Date: Tue, 24 Apr 2001 22:41:16 +0000 To: tru64-unix-managers Subject: Summary: Script or tool to show users' current working directories? X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=102653646721694 Please forgive me for summarizing someone elses question with my answer... I just thought some folks might find this useful. The script is named cwt and it either changes the dtterm window title to the parameter you enter when you run the script (i.e. cwt newtitle) or it changes the dtterm window title to the current working directory. It is kind of handy if you are working on a lot of different windows. The parameter "name=$('pwd')" can be changed to something like "name=$(hostname)" to set the window title to the hostname if you are working on several systems. The 'echo' statement is entered with the keystrokes in the #comment line. rich ----------------------------------- #ksh cwt 1. apr. 1997 rnf if test "" = "$1" then name=$('pwd') echo " Enter a parameter with the command or title=hostname. " else name=$1 fi echo " ^[]0;$name^G " # "v[];$namevG" -------------------------------------------------------------------------------- > > Is there a tool, script, or code somewhere to display users' current > working directories? > We have an old database system (UniVerse) which relies on finding files > in a user's CWD. > > -- > Hugh Pritchard (Tier Technologies), 202-724-4690 > D.C. Ofc of Corporation Counsel, Child Support Enforcement Division > mailto:Hugh.Pritchard@DC.gov >