Careful Jack. Linux implements some of the commands differently than AIX and therefore PASE does. Most of the classic ones behave the same but there are differences. Some of those differences could be significant.
--
Jim Oberholtzer
Agile Technology Architects
-----Original Message-----
From: MIDRANGE-L <midrange-l-bounces@xxxxxxxxxxxx> On Behalf Of Jack Woehr
Sent: Saturday, November 24, 2018 12:10 AM
To: Midrange Systems Technical Discussion <midrange-l@xxxxxxxxxxxx>
Subject: Re: A couple of quick questions (PASE commands, and rapidly deleting an IFS directory tree
El 23/11/18 a las 18:52, James H. H. Lampert escribió:
First of all, does anybody know where I can find "man pages" or
other helptext on the standard PASE commands available in a QP2TERM session?
On a Linux system. Which is why all you i jockeys need a Linux system handy. Or just google
Linux Manual rm
And second, suppose I have an IFS directory, "/foo"; suppose it
contains a large tree of subdirectories. What's the fastest way to
get rid of everything in "/foo" (with or without getting rid of "/foo"
itself)?
*cd /foo*
*rm -rf **
... removes everything that doesn't start with a dot (.) All that will be left is the .somethings .woof .arf.foo.bar files and directories.
So after rm -rf * do an ls -al and remove anything except . and .. by *rm
-rf* 'ing it by its .name
. is the current dir
.. is the parent
--
Absolute Performance, Inc.
12303 Airport Way, Suite 100
Broomfield, CO 80021
NON-DISCLOSURE NOTICE: This communication including any and all attachments is for the intended recipient(s) only and may contain confidential and privileged information. If you are not the intended recipient of this communication, any disclosure, copying further distribution or use of this communication is prohibited. If you received this communication in error, please contact the sender and delete/destroy all copies of this communication immediately.
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list To post a message email: MIDRANGE-L@xxxxxxxxxxxx To subscribe, unsubscribe, or change list options,
visit:
https://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx Before posting, please take a moment to review the archives at
https://archive.midrange.com/midrange-l.
Please contact support@xxxxxxxxxxxx for any subscription related questions.
Help support midrange.com by shopping at amazon.com with our affiliate link:
https://amazon.midrange.com
As an Amazon Associate we earn from qualifying purchases.