12-01-2008
Quote:
Originally Posted by
dennis.jacob
Give a try on:
1. list the files with ls -i * and get the inode number
2.Delete it with find . -inum=inodenum -exec rm {} \;
i din't see the "undeletable" file is exist when ls -i *
5 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I've some files created by a script.
For some reason last time the script run was interrupted for an error and the files produced by the script are undeletable.
i've tryed as root with command 'rm' and even if i got no error in command execution the files are still there.
These are the... (9 Replies)
Discussion started by: mirrorx
9 Replies
2. Shell Programming and Scripting
Hi Friends,
I'm a great fan of this forum... it has helped me tone my skills in shell scripting. I have a challenge here, which I'm sure you guys would help me in achieving...
File A has a list of job ids and I need to compare this with the File B (*.log) and File C (extend *.log) and copy... (6 Replies)
Discussion started by: asnandhakumar
6 Replies
3. Shell Programming and Scripting
Hi,
I need to compare 2 text files with around 60000 rows and 1 column. I need to compare these and write the mismatch data to 3rd file.
File1 - file2 = file3
wc -l file1.txt
58112
wc -l file2.txt
55260
head -5 file1.txt
101214200123
101214700300
101250030067
101214100500... (10 Replies)
Discussion started by: Divya Nochiyil
10 Replies
4. Shell Programming and Scripting
Shell script logic
Hi
I have 2 input files like with file 1 content as (file1)
"BRGTEST-242" a.txt "BRGTEST-240" a.txt "BRGTEST-219" e.txt
File 2 contents as fle(2)
"BRGTEST-244" a.txt "BRGTEST-244" b.txt "BRGTEST-231" c.txt "BRGTEST-231" d.txt "BRGTEST-221" e.txt
I want to get... (22 Replies)
Discussion started by: pottic
22 Replies
5. OS X (Apple)
Greetings,
I'm trying to delete a file with a weird name from within Terminal on a Mac.
It's a very old file (1992) with null characters in the name: ââWord FinderÂŽ Plusâ˘.
Here are some examples of what I've tried:
12FX009:5 dpontius$ ls
ââWord FinderÂŽ Plusâ˘
12FX009:5 dpontius$ rm... (29 Replies)
Discussion started by: dpontius
29 Replies
LEARN ABOUT REDHAT
pvmfgetinst
GETINST(3PVM) PVM Version 3.4 GETINST(3PVM)
NAME
pvm_getinst - Returns the instance number in a group of a PVM process.
SYNOPSIS
C int inum = pvm_getinst( char *group, int tid )
Fortran call pvmfgetinst( group, tid, inum )
PARAMETERS
group Character string group name of an existing group.
tid Integer task identifier of a PVM process.
inum Integer instance number returned by the routine. Instance numbers start at 0 and count up. Values less than zero indicate an
error.
DESCRIPTION
The routine pvm_getinst takes a group name group and a PVM task identifier tid and returns the unique instance number that corresponds to
the input. It can be called by any task whether in the group or not. If pvm_getinst is successful, inum will be >= 0. If some error
occurs then inum will be < 0.
EXAMPLES
C:
inum = pvm_getinst( "worker", pvm_mytid() );
--------
inum = pvm_getinst( "worker", tid[i] );
Fortran:
CALL PVMFGETINST( 'GROUP3', TID, INUM )
ERRORS
These error conditions can be returned by pvm_getinst
PvmSysErr
pvmd was not started or has crashed.
PvmBadParam
giving an invalid tid value.
PvmNoGroup
giving a non-existent group name.
PvmNotInGroup
specifying a group in which the tid is not a member.
SEE ALSO
pvm_joingroup(3PVM), pvm_gettid(3PVM)
30 August, 1993 GETINST(3PVM)