Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
* VMS user on UNIX, HELP!
@ 1996-09-27  4:00 system
  1996-09-29  4:00 ` Ian Mortimer
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: system @ 1996-09-27  4:00 UTC (permalink / raw)



Hello,
	I am a VMS person being dragged into Unix.  I have two rather basic
questions that I can't seem to figure out.

	I am telnetting to the unix machine from a decterm that is logged 
into a vms machine.  The DECterm is set at 48 lines and I would like
to be able to use all 48 lines, rather than having to change the size
of the DECterm to 24 lines to accomodate the telnet screen.

	Second, I would like to be able to search multiple directories
for a file.  I have been able to do the following:

ls /*/filenm
or
ls */*/filename

Which will search one level of directories but

what I want is the equivalent of

dir [...]filename

which recursively searchs all subdirectories.

Should I be looking at a completely different command?

Thanks for any help you can give me.

Robert
Morphis@Physics.niu.edu

Morphis@physics.niu.edu

Real Men change diapers



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

* Re: VMS user on UNIX, HELP!
  1996-09-27  4:00 VMS user on UNIX, HELP! system
@ 1996-09-29  4:00 ` Ian Mortimer
  1996-09-30  4:00   ` system
  1996-10-01  4:00   ` Jack Patteeuw
  1996-09-30  4:00 ` Steven J. Vore
  1996-10-04  4:00 ` Ben Suurmeijer
  2 siblings, 2 replies; 6+ messages in thread
From: Ian Mortimer @ 1996-09-29  4:00 UTC (permalink / raw)



system@niuhep.physics.niu.edu wrote:
> 	I am telnetting to the unix machine from a decterm that is logged 
> into a vms machine.  The DECterm is set at 48 lines and I would like
> to be able to use all 48 lines, rather than having to change the size
> of the DECterm to 24 lines to accomodate the telnet screen.

Use `stty rows 48` to use all 48 lines.  See `man stty` for more 
information.

> 	Second, I would like to be able to search multiple directories
> for a file.  I have been able to do the following:

Use `ls -R' to get a listing for the current directory and all
directories below it.  'ls -lR' for a long listing.  See the man
page for ls for more information.

If you just want to find a specific file use:

	find . -name file_name -print

To find the file "file_name" in any directory below the current one.

Hope this helps

Ian



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

* Re: VMS user on UNIX, HELP!
  1996-09-29  4:00 ` Ian Mortimer
@ 1996-09-30  4:00   ` system
  1996-10-01  4:00   ` Jack Patteeuw
  1 sibling, 0 replies; 6+ messages in thread
From: system @ 1996-09-30  4:00 UTC (permalink / raw)



My thanks to Ian and everybody else who replied via e-mail.

Robert

mortimer@physics.uq.oz.au (Ian Mortimer) writes:
>system@niuhep.physics.niu.edu wrote:
>> 	I am telnetting to the unix machine from a decterm that is logged 
>> into a vms machine.  The DECterm is set at 48 lines and I would like
>> to be able to use all 48 lines, rather than having to change the size
>> of the DECterm to 24 lines to accomodate the telnet screen.
>
>Use `stty rows 48` to use all 48 lines.  See `man stty` for more 
>information.

I looked, honest!  Looked again and there it was, sigh.

>> 	Second, I would like to be able to search multiple directories
>> for a file.  I have been able to do the following:
>
>Use `ls -R' to get a listing for the current directory and all
>directories below it.  'ls -lR' for a long listing.  See the man
>page for ls for more information.
>
>If you just want to find a specific file use:
>
>	find . -name file_name -print
>
>To find the file "file_name" in any directory below the current one.
>
>Hope this helps
>
>Ian

Morphis@physics.niu.edu

Real Men change diapers



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

* Re: VMS user on UNIX, HELP!
  1996-09-27  4:00 VMS user on UNIX, HELP! system
  1996-09-29  4:00 ` Ian Mortimer
@ 1996-09-30  4:00 ` Steven J. Vore
  1996-10-04  4:00 ` Ben Suurmeijer
  2 siblings, 0 replies; 6+ messages in thread
From: Steven J. Vore @ 1996-09-30  4:00 UTC (permalink / raw)
  Cc: system


try

   find . -name filename -ls

for example

   find . -name robert.txt -ls


-- 

Steven Vore@alf.dec.com, MCSE        Smile - Mickey's Watching!      
kf4fbk
----------------------------------------------------------------------------
 Do not think you have to win. Think, rather, that you do not have to
lose.
----------------------------------------------------------------------------



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

* Re: VMS user on UNIX, HELP!
  1996-09-29  4:00 ` Ian Mortimer
  1996-09-30  4:00   ` system
@ 1996-10-01  4:00   ` Jack Patteeuw
  1 sibling, 0 replies; 6+ messages in thread
From: Jack Patteeuw @ 1996-10-01  4:00 UTC (permalink / raw)



mortimer@physics.uq.oz.au (Ian Mortimer) writes:

>If you just want to find a specific file use:
>
>	find . -name file_name -print
>
>To find the file "file_name" in any directory below the current one.

Even if you are not searching for "specific file" (ie. you wish to use
wildcards) you can.  Just enclose the the wildcarded file name in apostrophes

	find . -name 'wilcarded_file_name' -print

Being an old VMSer I like

	find /specific_path/ -name 'wilcarded_file_name' -exec ls -ld {} \;

Jack Patteeuw

My opinions are my own and not my employer's, my wife's, or my children !

"I used to do VMS,                Stolen from a good friend:
 Now I do Unix;                   "A mind is like a parachute ...
 It's a living"                      It only works when it is open !"



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

* Re: VMS user on UNIX, HELP!
  1996-09-27  4:00 VMS user on UNIX, HELP! system
  1996-09-29  4:00 ` Ian Mortimer
  1996-09-30  4:00 ` Steven J. Vore
@ 1996-10-04  4:00 ` Ben Suurmeijer
  2 siblings, 0 replies; 6+ messages in thread
From: Ben Suurmeijer @ 1996-10-04  4:00 UTC (permalink / raw)
  To: system


You can do ls -R <filename>

or 

find . -name "filename" -print

for more info look into: 'man ls' or 'man find'

Succes!

Ben Suurmeijer
BMC Software



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

end of thread, other threads:[~1996-10-04  4:00 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1996-09-27  4:00 VMS user on UNIX, HELP! system
1996-09-29  4:00 ` Ian Mortimer
1996-09-30  4:00   ` system
1996-10-01  4:00   ` Jack Patteeuw
1996-09-30  4:00 ` Steven J. Vore
1996-10-04  4:00 ` Ben Suurmeijer

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