I am using a DEC ALPHA running Digital UNIX (formly DEC OSF/1) and ksh. I have a directory with hundreds of files that only share the extension .rpt. I would like to search that directory based on serial number and operation number and only files that meet both requirements to be printed out. I... (6 Replies)
I would like a simple shell script that will allow me to display to screen all unsuccessful su attempts in my sulog file, for the present date.
I have been trying several different combinations of commands, but I can't quite get the syntax correct.
The mess I have right now (don't laugh) is... (4 Replies)
Hi,
Need to extract a string from one file and search the same in other files.
Ex:
I have file1 of hundred lines with no delimiters not even space.
I have 3 more files.
I should get 1 to 10 characters say substring from each line of file1 and search that string in rest of the files and get... (1 Reply)
Hello All
I would like to search for files containing certain string pattern under all the directories under /vobs/vobname and print the output to a file in my home directory. How can I do this?
Note: /vobs/vobname conatins several directories.
Thank You in advance
newbetounix (1 Reply)
I have a situation where I need to search for multiple strings (error messages) such as 'aborted' 'file not found' etc in directory having logs. I have put all the error messages in a text file and using the command.
grep -f <textfile> <filetobegrepped>
I'm doing this thru a script where I... (5 Replies)
Hi All,
I have a issue in pulling some heavy records , I have my input file has 10,000 records which i need to compare with daily appended log files from (sep 1st 2009 to till date) . I tried to use grep fgrep and even sed , but the as time is factor for me , i cannot wait for 5 days to get the... (3 Replies)
I have a list of pattern in a file, I want each of these pattern been searched from 4 files. I was wondering this can be done in SED / AWK.
say my 4 files to be searched are
> cat f1
abc/x(12) 1
abc/x 3
cde 2
zzz 3
fdf 4
> cat f2
fdf 4
cde 3
abc 2... (6 Replies)
I'm attempting to use grep in Perl with very little success.
What I would like to do in Perl is get the output of the following grep code:
grep -l 'pattern' *
This gives me a list of all the files in a directory that contain the pattern that was searched.
My attempts to do this in Perl... (4 Replies)
Hello Esteemed Members,
I need to write a script to search for files that have one or more than one rows similar.
Please note that there is no specific pattern that I am searching for. The rows can be different, I just need to find out two or more similar records in two or more files.
There... (7 Replies)
I am new to unix and I would like to search multiple log files to find earliest occurrence of a text.
Ex:
Say I have 10 logs file each ending with .log and I want to find the text “CustomeError” .
I want to find the which log file “CustomeError” comes first and lines which surround’s ... (4 Replies)
Discussion started by: jim john
4 Replies
LEARN ABOUT DEBIAN
ifrit
IFRIT(1) General Commands Manual IFRIT(1)NAME
ifrit - a powerful tool that can be used to visualize 3-dimensional data sets
SYNOPSIS
ifrit [qt-options] [options] [dir_name]
DESCRIPTION
This manual page documents briefly the ifrit command. This manual page was written for the Debian distribution because the original pro-
gram does not have a manual page.
OPTIONS -8 accepts an 8-bit display
-d starts IFRIT with all windows docked together into a single window.
-nf does not show the splash screen at start-up
-sw uses small font to reduce the QT window size
-rw IFRIT is being used remotely. This option can be used to minimize re-drawing of the widget windows.
-ni IFRIT is not idiosyncratic. This prompts IFRIT not to ask for a confirmation when exiting or running scripts.
-np number
sets the number of processors to use. Note that only some parts of IFRIT support parallel execution so far.
-i file_name
loads the state from the previously saved state file filename.
-b file_name
runs IFRIT in batch mode, taking animation script from the file filename. If filename starts with sign "+", standard directories
(see ENVIRONMENT VARIABLES ) will be prepended to the file name.
-h -help
show the list of available command-line options.
ENVIRONMENT VARIABLES
IFRIT understands the following environment variables (all in capitals):
IFRIT_DIR
The main IFRIT directory where you keep the variable file ifrit.nam and options file(s) ifrit.ini. If this variable is not set,
IFRIT assumes that current directory is the main directory.
IFRIT_DATA_DIR:
The default directory for the data files. If not set, IFRIT will start searching for the data files in the current directory.
IFRIT_MESH_DATA_DIR
The default directory for the mesh data files. If not set, IFRIT will start searching for the mesh data in the default data direc-
tory.
IFRIT_PART_DATA_DIR
The default directory for the particle data files. If not set, IFRIT will start searching for the particle data in the default data
directory.
IFRIT_VECT_DATA_DIR
The default directory for the vector field data files. If not set, IFRIT will start searching for the vector field data in the
default data directory.
IFRIT_TENS_DATA_DIR
The default directory for the tensor field data files. If not set, IFRIT will start searching for the tensor field data in the
default data directory.
IFRIT_IMAGE_DIR
The directory where IFRIT will place image and animation files. If not set, IFRIT will put image files into the current directory.
IFRIT_SCRIPT_DIR
The directory where IFRIT will place animation scripts. If not set, IFRIT will put scripts into its main directory.
IFRIT_PALETTE_DIR
The directory where IFRIT will place custom palettes. If not set, IFRIT will put palettes into its main directory.
SEE ALSO
The IFRIT help system.
AUTHOR
This manual page was adapted by Mark Hymers <mark.hymers@ncl.ac.uk> from the ifrit help system, for the Debian project (but may be used by
others).
September 09, 2004 IFRIT(1)