08-22-2008
did you tried combining "ls" command with "rm"
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi,
We are facing problem to delete some logfiles. Explaing with example for clear understanding :
we have 2 accounts : prdpqrs (application account) & prodxyz (admin account - not root). Both of them are in same group called 'release'
While prodxyz is trying to remove a file owned by... (4 Replies)
Discussion started by: sabyasm
4 Replies
2. UNIX for Dummies Questions & Answers
Hi ..
I am trying to deleta a file but i cant do the error i get is
rm: hs_pdref_custom_dict_PG1_out_76_out non-existent
but when i do ls it is listing the in the directory ...
please find the filed below....
-rw-r----- 1 tsta107 users 118011030 Dec 1 04:07... (13 Replies)
Discussion started by: arunkumar_mca
13 Replies
3. Windows & DOS: Issues & Discussions
We have AIX box with a share.
We have a Windows 2000 server with a mapped drive to this share.
We were able to create and delete files inside the mapped drive.
I removed the map. Changed it to a test share. Removed that map. Added it back to teh original share.
However, now we can... (3 Replies)
Discussion started by: mcubitt
3 Replies
4. UNIX for Advanced & Expert Users
I am working on a unix server.
I killed all the processes with my id on the machine.
After that I tried to delete a file, I got an error:-
file not removed.Text File busy.
Deletion of directory prompted:-
Directory not empty.
Can anyone help me regarding this...???
Thanks,
Vikas (11 Replies)
Discussion started by: vikasrout
11 Replies
5. Shell Programming and Scripting
Hi All,
I am facing problem deleting Source while using the rsync command.
rsync --include=*`date --date="-1 day" \+\%Y\%m\%d`* --include=*`date +\%Y\%m\%d`* --exclude=* --delete-after -auvb -e ssh USER@SERVER:SOURCE DESTINATION
However the sync happens but not the deletion of the source... (1 Reply)
Discussion started by: amitkhiare
1 Replies
6. Shell Programming and Scripting
I'm debugging a ksh script written by someone else that does the following:
It runs a command and redirects stdout to a file called dberror that already exists using ">". This command fails with the following error:
The file access permissions do not allow the specified action. dberror:... (1 Reply)
Discussion started by: savage66
1 Replies
7. Solaris
Hi All,
I am trying to uninstall jdk 1.5 from my Solaris 10 64 bit but some how was not successful.so tried to delete the folder of jdk from /usr but its throughing error as:
Unable to remove directory jdk: Read-only file system
Even I tried to create a dir in /usr but its not allowing me... (4 Replies)
Discussion started by: Pshah
4 Replies
8. Solaris
Hi,
I have an 'empty' directory 'tmp' of which I am the owner and 777 permission. But when I try to delete the directory using rmdir or rm command, it gives error.
Command prompt snapshot:
=> uname
SunOS
... (4 Replies)
Discussion started by: platinum81
4 Replies
9. HP-UX
Hi
Please can someone give me a hint on this, when I list the targets, I see two o them:
#iscsiutil -p
Operational Target Information
------------------------------
Target # 1
-----------
Target Name : iqn.1992-08.com.netapp:sn.142241859
Target Alias ... (2 Replies)
Discussion started by: fretagi
2 Replies
10. AIX
heapdump716960.1416296627.txt
heapdump716960.1416299494.txt
heapdump716960.1416302375.txt
trying to delete the above files
root@atec:/oratec/prodcomn/temp>rm heap*.*.txt
ksh: /usr/bin/rm: 0403-027 The parameter list is too long.
root@atec:/oratec/prodcomn/temp>rm heap*.txt... (2 Replies)
Discussion started by: filosophizer
2 Replies
comb(1) General Commands Manual comb(1)
NAME
comb - Combines Source Code Control System (SCCS) deltas
SYNOPSIS
comb [-clist] [-os] [-pSID] file...
The comb command writes to standard output a shell procedure for combining the specified deltas (SIDs) of an SCCS file and creating a new
version of the file with fewer deltas.
OPTIONS
Each option or group of options applies independently to each named file. Specifies a list of deltas (SIDs) that the shell procedure will
preserve (see get -ilist). The procedure will combine all other deltas. Accesses the reconstructed file at the release of the delta to be
created for each get -e generated; otherwise, accesses the reconstructed file at the most recent ancestor. Using the -o option may
decrease the size of the reconstructed SCCS file. It may also alter the shape of the delta tree of the original file. Specifies the SID
of the oldest delta for the resulting procedure to preserve. All older deltas are combined in the reconstructed file. Causes comb to gen-
erate a shell procedure that, instead of combining the deltas, produces a report for each file, which lists the file name, size (in blocks)
after combining, original size (also in blocks), and percentage change computed by the following formula: 100 * (original - combined) /
original
Run comb using this option before actually combining SCCS deltas in order to judge how much space will actually be saved by the com-
bining process.
DESCRIPTION
By piping the output of the comb command to a shell, or redirecting the output to a file and running that file as a shell procedure, you
can reduce the size of your SCCS file. You can first see how much the file will be reduced by running the comb command with the -s option.
If you specify a directory in place of file, the comb command performs the requested actions on all SCCS files (that is, those with file
names with the s. prefix). If you specify a - (dash) in place of file, the comb command reads standard input and interprets each line as
the name of an SCCS file. The comb command continues to take input until it reads End-of-File.
If you do not specify any options, the comb command preserves only leaf deltas and the minimal number of ancestors needed to preserve the
tree (see the delta command).
The comb command may rearrange the shape of the tree deltas.
The comb command may not save any space; in fact, it is possible for the reconstructed file to actually be larger than the original.
EXAMPLES
To generate a report on how much space will be saved by combing all deltas older than SID 1.4 for SCCS file s.test.c, enter: comb -p1.4 -s
s.test.c | sh To actually combine the deltas, enter: comb -p1.4 s.test.c | sh
FILES
Temporary files.
SEE ALSO
Commands: admin(1), cdc(1), delta(1), get(1), prs(1), rmdel(1), sact(1), sccs(1), sccsdiff(1), sccshelp(1), unget(1), val(1), what(1)
Files: sccsfile(4)
Programming Support Tools
comb(1)