I am accessing a UNIX server via FTP. I want to retieve a file in a directory. What is the UNIX command that I need to view and retrieve files from a directory? (1 Reply)
This is probably very easy but I would like to know a way to list all my files in all my directories that are readable and executable to everyone. I was told to use find or ls and I tried some stuff but couldnt get it to work. I understand that its dangerous to have files with these permissions for... (4 Replies)
I am writing a shell script to search for previous versions of an application...the application is called TAU and basically i want to search the users home directory and /Applications for any instances of a "TAU" folder.. If found i want to give the user the option to remove the old folders and if... (3 Replies)
hello all.
i would like to be able to find the names of all files on a remote machine using ssh.
i only want the names of files, not directories
so far i'm stuck at "du -a | sort -n"
also, is it possible to write them to a file on my machine? i know how to write it to a file on that... (2 Replies)
I have directories like V00R01,V00R02,V01R01,V01R02 in a directory
where V is version and R is a release. basically I need to set base directory and current directory. Under a version there can be any number of releases and there can be number of versions also.
V00R01...V00R50..so on
also,... (2 Replies)
Hello all,
Here's the deal...I have one directory with many subdirs and files.
What I want to find out is who is keeping old files and directories...say files and dirs that they didn't use since a number of n days, only one level under the initial dir. Output to a file.
A script for... (5 Replies)
Hello,
Motive: Search all directories which are older than 5 days.
Example: consider following directory structure:
abc/dir1 abc/dir1/dir abc/dir2 abc/dir3 abc/dir3/temp
Suppose dir1 and dir3 are 5 days older. Then I am looking for a command which lists abc/dir1 and abic/dir3 only so that... (4 Replies)
Alright so I've tried a couple different things that at first glance, looked like they worked.
find . -maxdepth 5 -type d -daystart -mtime 1 | xargs du -h Which seems to ignore the previous commands such as depth and modified time.
find .. -maxdepth 2 -type d -daystart -ctime 1 | xargs... (8 Replies)
Hi All,
I need your help in finding pattern of directories.
need to search for all pattern have "mypatern" from base directory folder.
example
-------
server1 - base directory
100 server1/ab_123456_1/mypattern
100 server1/ab_123456_2/mypattern
200 server1/ab_123457_1/mypattern... (13 Replies)
i need to find a portable way to go through multiple directories to find a file.
I've trid something like this:
find /opt/oracle/diag/*/alert_HH2.log -printordinarily, i can run the ls command and it will find it:
/opt/oracle/diag/*/*/*/*/alert_HH2.log
The problem with this approach is... (3 Replies)
Discussion started by: SkySmart
3 Replies
LEARN ABOUT FREEBSD
fmal
FMA(3) BSD Library Functions Manual FMA(3)NAME
fma, fmaf, fmal -- fused multiply-add
LIBRARY
Math Library (libm, -lm)
SYNOPSIS
#include <math.h>
double
fma(double x, double y, double z);
float
fmaf(float x, float y, float z);
long double
fmal(long double x, long double y, long double z);
DESCRIPTION
The fma(), fmaf(), and fmal() functions return (x * y) + z, computed with only one rounding error. Using the ordinary multiplication and
addition operators, by contrast, results in two roundings: one for the intermediate product and one for the final result.
For instance, the expression 1.2e100 * 2.0e208 - 1.4e308 produces infinity due to overflow in the intermediate product, whereas fma(1.2e100,
2.0e208, -1.4e308) returns approximately 1.0e308.
The fused multiply-add operation is often used to improve the accuracy of calculations such as dot products. It may also be used to improve
performance on machines that implement it natively. The macros FP_FAST_FMA, FP_FAST_FMAF and FP_FAST_FMAL may be defined in <math.h> to
indicate that fma(), fmaf(), and fmal() (respectively) have comparable or faster speed than a multiply operation followed by an add opera-
tion.
IMPLEMENTATION NOTES
In general, these routines will behave as one would expect if x * y + z were computed with unbounded precision and range, then rounded to the
precision of the return type. However, on some platforms, if z is NaN, these functions may not raise an exception even when the computation
of x * y would have otherwise generated an invalid exception.
SEE ALSO fenv(3), math(3)STANDARDS
The fma(), fmaf(), and fmal() functions conform to ISO/IEC 9899:1999 (``ISO C99''). A fused multiply-add operation with virtually identical
characteristics appears in IEEE draft standard 754R.
HISTORY
The fma() and fmaf() routines first appeared in FreeBSD 5.4, and fmal() appeared in FreeBSD 6.0.
BSD January 22, 2005 BSD