05-07-2009
what is a "find stat() error"
I'm searching for an oracle emtab file.
I do a find / -name emtab -print and the first result gives me
find: stat() error /apps/tomcat/jakarta-tomcat-5.5.9/bin/console.txt: I/O error
Can someone explain what this error means?
thanks,
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
problem String
~~~~~~~~~~~~~~~~~~
icecream= { smart peopleLink "good" LC "happy" ,
smartpeopleLink "dull" LC "sad" }
aend = {smart vc4 eatr kalu}
output needed
~~~~~~~~~~~~~~~~~~
smart peopleLink "good" LC "happy" , smartpeopleLink "dull" LC "sad"
smart vc4... (4 Replies)
Discussion started by: keshav_rk
4 Replies
2. Shell Programming and Scripting
Dear friends,
please tell me how to find the files which are existing in the current directory, but it sholud not search in the sub directories..
it is like this,
current directory contains
file1, file2, file3, dir1, dir2
and dir1 conatins
file4, file5
and dir2 contains
file6,... (9 Replies)
Discussion started by: swamymns
9 Replies
3. Solaris
Hi All,
I am getting an error message when I execute command “zlogin -C sunsrv4z5” on my root server.
INIT: Cannot stat /etc/inittab, errno: 2
INIT: Cannot stat /etc/inittab, errno: 2
As per my analysis it seems that some files inside /etc folder are deleted.
This server was... (14 Replies)
Discussion started by: surbhit4u
14 Replies
4. Shell Programming and Scripting
Hi,
I have line in input file as below:
3G_CENTRAL;INDONESIA_(M)_TELKOMSEL;SPECIAL_WORLD_GRP_7_FA_2_TELKOMSEL
My expected output for line in the file must be :
"1-Radon1-cMOC_deg"|"LDIndex"|"3G_CENTRAL|INDONESIA_(M)_TELKOMSEL"|LAST|"SPECIAL_WORLD_GRP_7_FA_2_TELKOMSEL"
Can someone... (7 Replies)
Discussion started by: shis100
7 Replies
5. Shell Programming and Scripting
So, my third thread here ^^ and still asking questions.
Thanks for you patience and help, I really appreciated it ;)
I currently use a shell script to move folders of songs from one to another location on my harddrive.
I use something like this:
sudo mv /var/mobile/Media/"My Music"/"Vasco... (3 Replies)
Discussion started by: pasc
3 Replies
6. Shell Programming and Scripting
I have a bash script that has been running (on SUSE 9.3) dozens of times over the past couple of years without error. Recently it has been hitting intermittent “cp: cannot stat FILE: No such file or directory” errors.
The script has nested loops that continuously process files in a... (2 Replies)
Discussion started by: jcart
2 Replies
7. AIX
i would like to know the equivalent of stat -c %Y <file> command in AIX.
i tried "istat" but its not giving the epoch time and also tried with perl
perl -le'printf "%o", 07777 & (stat) for @ARGV' <file>
it not also provding the timing .
... (3 Replies)
Discussion started by: expert
3 Replies
8. Shell Programming and Scripting
I have a bunch of random character lines like ABCEDFG. I want to find all lines with "A" and then change any "E" to "X" in the same line. ALL lines with "A" will have an "X" somewhere in it. I have tried sed awk and vi editor. I get close, not quite there. I know someone has already solved this... (10 Replies)
Discussion started by: nightwatchrenba
10 Replies
9. UNIX for Dummies Questions & Answers
Hi.
I'm trying to install VMWare Workstation to run a virtual machine on my Mac OS, but running the bundle from bash(xterm)
sh VMware-workstation-Full-11.0.0-2305329.x86_64.bundle
(as suggested in install guide)
comes up with error:stat: illegal option -- -
usage: stat
Digging... (5 Replies)
Discussion started by: defeated
5 Replies
10. Shell Programming and Scripting
These three finds worked as expected:
$ find . -iname "*.PDF"
$ find . -iname "*.PDF" \( ! -name "*_nobackup.*" \)
$ find . -path "*_nobackup*" -prune -iname "*.PDF"
They all returned the match:
./folder/file.pdf
:b:
This find returned no matches:
$ find . -path "*_nobackup*" -prune... (3 Replies)
Discussion started by: wolfv
3 Replies
LEARN ABOUT DEBIAN
explain_stat_or_die
explain_stat_or_die(3) Library Functions Manual explain_stat_or_die(3)
NAME
explain_stat_or_die - get file status and report errors
SYNOPSIS
#include <libexplain/stat.h>
void explain_stat_or_die(const char *pathname, struct stat *buf);
DESCRIPTION
The explain_stat_or_die function is used to call the stat(2) system call. On failure an explanation will be printed to stderr, obtained
from explain_stat(3), and then the process terminates by calling exit(EXIT_FAILURE).
This function is intended to be used in a fashion similar to the following example:
explain_stat_or_die(pathname, buf);
pathname
The pathname, exactly as to be passed to the stat(2) system call.
buf The buf, exactly as to be passed to the stat(2) system call.
Returns:
This function only returns on success. On failure, prints an explanation and exits.
SEE ALSO
stat(2) get file status
explain_stat(3)
explain stat(2) errors
exit(2) terminate the calling process
COPYRIGHT
libexplain version 0.52
Copyright (C) 2008 Peter Miller
explain_stat_or_die(3)