tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
* Scripts
@ 1997-06-04  0:14 Harvey Davis
  0 siblings, 0 replies; 5+ messages in thread
From: Harvey Davis @ 1997-06-04  0:14 UTC (permalink / raw)
  To: tru64-unix-managers

Hello 

  I was wondering if their is a way for a shell script to modify the current
directory of its parent process, ie suppose a bash shell script is invoked
from /usr/home/fred/ is there any way I can change this to say /usr/local/etc
such that when I exit the shell script I will be in /usr/local/etc.


  Hopefully it is something obvious that I am missing or not understanding.

  Any help would be appreciated.


  Thankyou

  Harvey Davis

^ permalink raw reply	[flat|nested] 5+ messages in thread
* Scripts
@ 2001-11-06 13:29 Binkley Robert - rbinkl
  0 siblings, 0 replies; 5+ messages in thread
From: Binkley Robert - rbinkl @ 2001-11-06 13:29 UTC (permalink / raw)
  To: tru64-unix-managers

Hello admins.

I am new to tru64 , And I was wondering if any one had any various sysadmin
script 
I am looking for script for the tru 64  platform, Like network, system
stats, Adfs 

Please share.

^ permalink raw reply	[flat|nested] 5+ messages in thread
* Scripts
@ 1998-05-07  7:41 Sundar_Rajan
  0 siblings, 0 replies; 5+ messages in thread
From: Sundar_Rajan @ 1998-05-07  7:41 UTC (permalink / raw)
  To: tru64-unix-managers


Hello All,
     I am facing a problem in a script which squeezes multiple spaces into
a single space. This is required
frequently and still am not able to find a solution to this.

For Ex :

If I want to list all the files in a current directory of today's date then
,

ls -lR  | grep 'May  7'

it lists properly. The same when assigned to a variable it squeezes the
mutiple spaces in "one" space only.

i.e

TODAY='May     7';export TODAY
ls -lR  | grep $TODAY

it doesn't work.

How can we avoid squeezing on multiple spaces ??


Similarly , If I want to recursively find the to-day's files only ,  find
command doesn't give a right results.
I have tried all combinations.

Any help will be appreciated.

Thanks in advance.

Sunder



            ********************************************************************

The information contained in these documents may be confidential and is intended
for the exclusive use of the addressee designated above.  If you are not the
addressee, any disclosure, reproduction, or other dissemination or use of this
communication is strictly prohibited.  If you have received this transmission in
error please contact us immediately by telephone so that we can arrange for its
return.

            ********************************************************************

^ permalink raw reply	[flat|nested] 5+ messages in thread
* Scripts
@ 1997-10-07 15:35 jdbrown
  0 siblings, 0 replies; 5+ messages in thread
From: jdbrown @ 1997-10-07 15:35 UTC (permalink / raw)
  To: tru64-unix-managers

It would be great help to someone who is justing starting out to get 
a couple of your favorite scripts for managing thing on a DEC Alpha 
box running DUX 4.0G.

Specifically I need a script that would create an empty file that has 
a name in the followinf format:

vdump.mmddyy.log.

I've tried using touch > date +%m%d%y and vaious other scenarios 
without luck.


Another script I need would log users of my boxes.  Currently, I:

ps -ef | grep tty for users and kill -9 their PID.


Lastly,  if anyone has a method for sending spool files from the DEC 
box to an HP3000 and printed I could also use it.

Thanks in advance for your help.

This is my third attempt at posting SOSes.
I'm 	d
		r
			o
				w
					n
						i
							n
								g
									!
										; )
jdbrown@wavenet.com
	

^ permalink raw reply	[flat|nested] 5+ messages in thread
* Scripts
@ 1996-09-10 17:28 Mak Andrew
  0 siblings, 0 replies; 5+ messages in thread
From: Mak Andrew @ 1996-09-10 17:28 UTC (permalink / raw)
  To: tru64-unix-managers


Hello all,

     I am using an Alpha 8400 on DU 3.2C. During our daily operations, I 
have to keep an eye on the Progress Database size. Therefore, script are 
written to capture the info. from the Progress Monitor Utility. At the 
moment, I have to do the following under the Unix prompt:

1) script db_info
2) check_db      ## check_db is a shell script to run the Progress Monitor 
Utilities
3) ^D                   ## ^D to end the script db_info
4) check_db2    ## check_db2 is a shell script to extract data from the file 
db_info

Is there a way to combine the above steps into a single shell script? Do I 
have to use some tools to get round the problem of creating of sub-shell by 
the script command in step (1)? Any input/experience welcome. I will 
summarise.

Thanks.

Andrew Mak
e-mail address: Andrew.Mak@MIS.SYDNEY.nestleau.nestle.com

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2001-11-06 13:29 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1997-06-04  0:14 Scripts Harvey Davis
  -- strict thread matches above, loose matches on Subject: below --
2001-11-06 13:29 Scripts Binkley Robert - rbinkl
1998-05-07  7:41 Scripts Sundar_Rajan
1997-10-07 15:35 Scripts jdbrown
1996-09-10 17:28 Scripts Mak Andrew

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox