11-22-2011
/proc is a special folder. The files inside it don't really exist, they're listings provided by the kernel. There's nothing to nullify.
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Can anyone say some ideas about using/creating link files (for ex., lrwxrwxrwx 1 bin bin 7 Jan 10 2001 bin -> usr/bin) in a shell script. (2 Replies)
Discussion started by: yuvasyntel
2 Replies
2. UNIX for Dummies Questions & Answers
Does any one now if you can change permissions on a linked file with out completely removing it and then relinking it? (2 Replies)
Discussion started by: moviestud80
2 Replies
3. UNIX for Dummies Questions & Answers
How do you identify the type of a link in the output of the ls -l command? (1 Reply)
Discussion started by: Tom Bombadil
1 Replies
4. Shell Programming and Scripting
if I have 1000 files, named file1, file2, ... ,file1000. for each one, I want to append a line, for example "this is the end of file#".
then, I want to link them all together.
how can I do that by using a simple script? (1 Reply)
Discussion started by: fredao
1 Replies
5. UNIX for Advanced & Expert Users
How to remove the files along with its link files either hardlink or softlink? (1 Reply)
Discussion started by: Ramesh_srk
1 Replies
6. Shell Programming and Scripting
How to find the link files. i have main file, now i want to find all the files linked to it. (4 Replies)
Discussion started by: aju_kup
4 Replies
7. Shell Programming and Scripting
Hi All,
I am in a tricky situation where I have to move my files to a different mount point and create a link in place of the file which will point to the moved location.
to explain you in details:-
say I have two mount points
/dir/mount1/
/dir/mount2/
I have my application... (5 Replies)
Discussion started by: rpraharaj84
5 Replies
8. Shell Programming and Scripting
Hi,
I have a Weblogic server running in Solaris box which is writing an out file 'server.out'
but this file is growing so fast 1GB per hour . to nullify this file and keep the process update I have created a shell script.
1 ) cp /dev/null server.out
2 ) cat /dev/null > server.out
3 )... (2 Replies)
Discussion started by: Joseph Antoine
2 Replies
9. Solaris
How do I nullify a zero link file.
Please help me (0 Replies)
Discussion started by: bluenavi
0 Replies
10. Solaris
Hi Experts,
I had encountered an issue where the zero link process was holding too much amount of data on a Solaris server. I was able to terminate the process after which the space of the file system was released.
40G /proc/8567/fd/2
Can you please let me know if there are any... (11 Replies)
Discussion started by: dhanu1985
11 Replies
LEARN ABOUT DEBIAN
file::copy::link
File::Copy::Link(3pm) User Contributed Perl Documentation File::Copy::Link(3pm)
NAME
File::Copy::Link - Perl extension for replacing a link by a copy of the linked file.
SYNOPSIS
use File::Copy::Link;
copylink 'file.lnk';
use File::Copy::Link qw(safecopylink);
safecopylink 'file.lnk';
DESCRIPTION
"copylink"
reads the filename linked to by the argument and replaced the link with a copy of the file. It opens a filehandle to read from the
link, deletes the link, and then copies the filehandle back to the link.
"safecopylink"
does the same as "copylink" but without the open-and-delete manouvre. Instead, it uses "File::Spec::Link" to find the target of the
link and copies from there.
This module is mostly a wrapper round "File::Spec::Link::linked" and "File::Copy::copy", the functionality is available in a command line
script copylink.
EXPORT
Nothing by default, can export "copylink", `"safecopylink".
SEE ALSO
copylink(1) File::Copy(3) File::Spec::Link(3)
AUTHOR
Robin Barker, <Robin.Barker@npl.co.uk>
COPYRIGHT AND LICENSE
Copyright 2003, 2006, 2007 by Robin Barker
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
perl v5.12.4 2011-09-30 File::Copy::Link(3pm)