02-17-2008
mdelete power
hi to all!
im using hp-ux 10.2
is it posible for the mdelete command to execute on the root directory if it did not find any file on the specified sub-directory?
this is my sample script
USER=root
PASSWD=root
cd /u01/app/oralog/arch
ftp -n 192.119.10.3
user $USER $PASSWD
prompt
binary
cd /u01/app/oracle/product/10.2.0/dbs/arch
mdelete *
mput *
quit
Thanks...
7 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hello Friends ,
I have been reading some of the Sys Admin notes when i came across a term "Power Cycling"
Can anybody please explain what this means
Thank You (1 Reply)
Discussion started by: DPAI
1 Replies
2. Solaris
Dear expert,
I have one server,in /var/adm/messages everyday present these messages:
Jan 3 06:01:30 SERVERGINTING genunix: WARNING: Device /pci@1d,700000/pci@1/scsi@2,1/sd@5,0 failed to power up.
Jan 3 06:01:31 SERVERGINTING scsi: WARNING: /pci@1d,700000/pci@1/scsi@2,1/sd@5,0 (sd45):... (2 Replies)
Discussion started by: fredginting
2 Replies
3. Shell Programming and Scripting
Hello,
I have a big problem with mdelete and I don't know further. In my shell script mdelete filename1 filename2 filename3 etc. does not delete alle files.
Here's the log:
-rw-r--r-- 1 root root 1 Mar 7 14:40 corrado
-rw-r--r-- 1 root root 1 Mar 7 14:40... (1 Reply)
Discussion started by: killmatic
1 Replies
4. AIX
I'm looking for a way - from the command line - to tell whether a given AIX system I have is a Power5, Power4 or Power6 machine - it seems like there would be an option to 'uname' but I couldn't find one.
Thanks! (3 Replies)
Discussion started by: thomn8r
3 Replies
5. UNIX for Dummies Questions & Answers
What I need to do is ftp some files on a remote server, but before postong the file need to delete any existing file from the path on the remote dir.
I am using the mdelete command for the same as follows :
open server_name
user_id
password
prompt off
ascii
cd /test
mdelete *
IF the... (3 Replies)
Discussion started by: rohini
3 Replies
6. Shell Programming and Scripting
Hi, I have some backup scripts running.
They allocate the files in separated folders, according to the current day.
(01, 02, 03...., 31)
After 1 month, the "cycle" starts again, and the files are uploaded to the folder 01, 02...
When that happens, I want the previous files to be deleted, so... (4 Replies)
Discussion started by: rafaces
4 Replies
7. Red Hat
Dear All
I am using a redhat server for cdr billing and mediation device on a remote network. I am experiencing problem that I am suspicious it comes from main supply power cut at the remote site. The power supply to the remote site comes from battery charger that will be automatically switched in... (1 Reply)
Discussion started by: hadimotamedi
1 Replies
LEARN ABOUT SUSE
slapd-passwd
SLAPD-PASSWD(5) File Formats Manual SLAPD-PASSWD(5)
NAME
slapd-passwd - /etc/passwd backend to slapd
SYNOPSIS
/etc/ldap/slapd.conf
DESCRIPTION
The PASSWD backend to slapd(8) serves up the user account information listed in the system passwd(5) file. This backend is provided for
demonstration purposes only. The DN of each entry is "uid=<username>,<suffix>". Note that non-base searches scan the the entire passwd
file, and are best suited for hosts with small passwd files.
CONFIGURATION
This slapd.conf option applies to the PASSWD backend database. That is, it must follow a "database passwd" line and come before any subse-
quent "backend" or "database" lines. Other database options are described in the slapd.conf(5) manual page.
file <filename>
Specifies an alternate passwd file to use. The default is /etc/passwd.
ACCESS CONTROL
The passwd backend does not honor any of the access control semantics described in slapd.access(5). Only read (=r) access to the entry
pseudo-attribute and to the other attribute values of the entries returned by the search operation is honored, which is performed by the
frontend.
FILES
/etc/ldap/slapd.conf
default slapd configuration file
/etc/passwd
user account information
SEE ALSO
slapd.conf(5), slapd(8), passwd(5).
OpenLDAP 2012/04/23 SLAPD-PASSWD(5)