09-06-2006
Thanks
I have an extension for that.. i need to remove only if needed.. actually i am planning to write a script where that would ask a user to remove yes/no..
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi,
I have a problem with a Unix server we do not adminster but have an application running on.
The problem is that overnight, files in the /user4/work directory revert to root ownership. This causes problems as we cannot process the files.
1) What would be causing files to revert to root... (1 Reply)
Discussion started by: canman
1 Replies
2. AIX
I want to serch for a string in all the files in the root directory. i want the search to be limited to only the files in the directory i.e the search to be done only in the files not in the sub directory.
the approaches tried are
1)grep "pattern string"
this command was serching the... (3 Replies)
Discussion started by: Subbu_Angeline
3 Replies
3. AIX
hi guys i need to extract information from log files generated by an application.
log file has the following lines for each process..
----------------------------------------------
Fri Aug 03 12:06:43 WST 2007 INFO: Running project PROJECT1
Fri Aug 03 12:06:43 WST 2007 INFO: Source Files... (7 Replies)
Discussion started by: kirantalla
7 Replies
4. Shell Programming and Scripting
Small query-
I want to do some operation on all the files older then today. Before I do that operation, i want to verify if the command works properly or not.
Surprisingly, the command below returns me file, which are created today -
find /mrk_archive/PG/ftp/incomming/gbs/2008 -type f... (2 Replies)
Discussion started by: kedar.mehta
2 Replies
5. UNIX for Dummies Questions & Answers
Using a Single Unix Command how can i find all of the files ending in .log in the /output directory tree that have the string “ERROR:” in the file
I tried these but was not successful:
cd /output; ls *.log | grep "ERROR:" (2 Replies)
Discussion started by: ramky79
2 Replies
6. AIX
Hi guys
I am running AIX 5.3 and a newbie to it.
And I am getting reports telling me that the Root Directory is reaching almost max capacity, can someone give m some advice to find out what files are causing it to grow? , or how I can identify the growing files?
Thanks (6 Replies)
Discussion started by: ryanbsc@gmail.c
6 Replies
7. UNIX for Dummies Questions & Answers
I need to know whether nyfile/mypath exists on the file system in the root directory.
How to do this (1 Reply)
Discussion started by: ramky79
1 Replies
8. UNIX for Dummies Questions & Answers
I am wondering if there is a way to search for top 10 files in size in root filesystem but exclude all other mounts including nfs mounts .
For example excluded
/var
/boot
/app
/app1
/u01/ (1 Reply)
Discussion started by: gubbu
1 Replies
9. Red Hat
RHEL 6.3
Could someone tell me how to use the find and chown command to replace all files in a directory owned by user1 (for this example) and replace with user1:group1? Most importantly I dont want to change any files owned by root. I recently used the following command but it changed the root... (4 Replies)
Discussion started by: gps1976
4 Replies
10. UNIX for Dummies Questions & Answers
Hi,
My apologies if my query is already available on this forum but I am new and could not find.
I need a script to list all directories/sub directories and files with permissions/groups/owners. The script would run from home directory and should capture every directory. How do I do this?
... (4 Replies)
Discussion started by: 8709711
4 Replies
LEARN ABOUT HPUX
remove_object
remove object(1m) remove object(1m)
NAME
remove object - Removes a value from a set-valued or single-valued attribute (including application-defined attributes) of an object entry
SYNOPSIS
cdscp remove object object-name attribute-name [= attribute-value]
ARGUMENTS
The full name of the object entry. The name of a particular attribute. Specify only one attribute at a time. See the cds_attributes file
for the list of attributes and corresponding data types that your application uses. The value of a particular attribute. The value of an
application-defined attribute is dependent on the type of attribute.
DESCRIPTION
The remove object command removes a value from a set-valued or single-valued attribute (including application-defined attributes) of an
object entry. If you do not specify a value, the command removes the entire attribute. This command can delete attributes created by the
add object and set object commands. Usually, this task is performed through the client application. See the OSF DCE Administration Guide
for more information about attributes.
Privilege Required
You must have write permission to the object entry.
NOTE
This command is replaced at Revision 1.1 by the dcecp command and may not be provided in future releases of DCE.
EXAMPLE
To remove the value ps from the attribute printcap of an object entry named /.:/mlh/deskprinter, follow these steps: Read the
cds_attributes file to check that the attribute printcap is listed, as shown in the following display:
OID LABEL SYNTAX 1.3.22.1.3.50 printcap char Enter the following command to remove the value ps from the
attribute printcap. cdscp> remove object /.:/mlh/deskprinter printcap = ps
RELATED INFORMATION
Commands: add object(1m), list object(1m), set object(1m), show object(1m)
Books: OSF DCE Administration Guide
remove object(1m)