Sponsored Content
Top Forums Shell Programming and Scripting can I save list of files in memory and not in text file? Post 302075545 by umen on Monday 5th of June 2006 03:32:39 AM
Old 06-05-2006
can I save list of files in memory and not in text file?

Hello all
im using allot with the method of getting file list from misc place in unix and copy them into text file
and then doing misc action on this list of files using
foreach f (`cat file_list.txt`)
do something with $f
end
can I replace this file_list.txt with some place in memory?
so I wont need to create files all the time?
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Data fetched from text file and save in a csv file

Hi i have wriiten a script which fetches the data from text file, and saves in the output in a text file itself, but i want that the output should save in different columns. I have the output like: For Channel:response_time__24.txt 1547 data points 0.339 0.299 0.448 0.581 7.380 ... (1 Reply)
Discussion started by: rohitkalia
1 Replies

2. Shell Programming and Scripting

List moved files in text file

Hi. I am actually doing all of this on OSX, but using unix apps and script. I have built my own transparent rsync/open directory/mobility/etc set of scripts for the firm I work at, and it is all almost complete except for ONE THING. I have the classic problem with rsync where if a user... (0 Replies)
Discussion started by: Ashtefere
0 Replies

3. Shell Programming and Scripting

Open Text file input data and save it.

Hi Guys, I have blank file A.txt I will run the script xyz.sh First i want to open a.txt file... Now i will enter some data like XYZ ABC PQR .. Save it and keep continue my script.... END of my script. Thanks (1 Reply)
Discussion started by: asavaliya
1 Replies

4. Programming

Extract text from file and save as individual file

Dear All I am using the following shell script to extract the columns from the file. for filename in *.rpt do awk -F"\t" ' BEGIN {OFS="|"} FNR > 0 {print $1,$2,$3,$5,FILENAME} ' $filename >> output.txt done However, the script works fine. Instead of saving the single... (4 Replies)
Discussion started by: bala06
4 Replies

5. Shell Programming and Scripting

Save result to a text file

Currently I have a perl code to combine two different files. #! /usr/bin/perl -w use strict; open FP1,"A.txt"; open FP2,"B.txt"; my ($l1,$l2); while(1) { $l1=<FP1>; chomp $l1; $l2=<FP2>; chomp $l2; last unless(defined $l1 or defined $l2); print "$l1 $l2\n"; } close FP2;... (4 Replies)
Discussion started by: Tzeronone
4 Replies

6. Shell Programming and Scripting

Read a file name from a text file and save it in a variable

i have a text file consists of different file names like: line 1: lib/libIMb.so message broker file line 2: lil/imbdfg.lil message broker file i need to extract libIMb.so and imbdfg.lil files from those lines and save them in a variable. so that i can search for... (9 Replies)
Discussion started by: santosh2626
9 Replies

7. Shell Programming and Scripting

A simpler way to do this (save a list of files based on part of their name)

Hello, I have a script that checks every file with a specific extension in a specific directory. The file names contain some numerical output and I am recording the file names with the best n outcomes. The script finds all files in the directory with the extension .out.txt and uses awk to... (12 Replies)
Discussion started by: LMHmedchem
12 Replies

8. Shell Programming and Scripting

How to save the 'nmon' output to a text file with a script?

Hi all, I want to do an Unix Script to save the 'nmon' output on a text file and I don't know how to do it. I need a Script for each monitoring and also one to multiple monitorings. Thanks (6 Replies)
Discussion started by: Javi1990
6 Replies

9. Shell Programming and Scripting

Save value from output of Corestat and save in a list for each core

I am trying to modify the "corestat v1.1" code which is in Perl.The typical output of this code is below: Core Utilization CoreId %Usr %Sys %Total ------ ----- ----- ------ 5 4.91 0.01 4.92 6 0.06 ... (0 Replies)
Discussion started by: Zam_1234
0 Replies

10. Shell Programming and Scripting

Use text of one file to save in another

I am trying to use the text of one file as a text file name with and the text of another as the contents of that text file. Is this possible? Thank you :). For example, in the two files attached, target.txt has: 1.txt 2.txt and out_parse.txt has: 13 20763642 20763642 C G... (5 Replies)
Discussion started by: cmccabe
5 Replies
ibtl(7D)							      Devices								  ibtl(7D)

NAME
ibtl - Solaris InfiniBand Transport Layer DESCRIPTION
InfiniBand (IB) is an I/O technology based on switched fabrics. The Solaris InfiniBand Transport Layer (IBTL) is a Solaris kernel misc mod- ule and adheres to the IB Architecture Version 1.1 specification and provides a transport layer abstraction to IB client drivers. IBTL implements the programming interfaces for the Solaris InfiniBand Transport Framework (IBTF), consisting of the IB Channel Interface (CI) and the IB Transport Interface (TI). The CI consists of Host Channel Adapters (HCAs) and HCA drivers. A host is attached to the IB fabric through the CI layer. The Solaris InfiniBand CI is Sun's API rendering of the InfiniBand Architecture (IBTA) "verbs" specification. The Solaris InfiniBand TI is the kernel service driver interface into the Solaris InfiniBand Transport Framework. It provides transport and communications setup programming interfaces for Unreliable Datagram (UD) and Reliable Connected (RC) transport types only. FILES
/kernel/misc/ibtl 32-bit x86 ELF kernel misc module /kernel/misc/amd64/ibtl 64-bit x86 ELF kernel misc module /kernel/misc/sparcv9/ibtl 64-bit SPARC ELF kernel module ATTRIBUTES
See attributes(5) for a description of the following attribute: +-----------------------------+-----------------------------+ |ATTRIBUTE TYPE |ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Interface Stability |Consolidation Private | +-----------------------------+-----------------------------+ |Availability |SUNWhea, SUNWib | +-----------------------------+-----------------------------+ SEE ALSO
attributes(5), ib(7D), ibcm(7D), ibdm(7D) InfiniBand Architecture Specification, Volume 1: Release 1.1 SunOS 5.10 9 Oct 2004 ibtl(7D)
All times are GMT -4. The time now is 10:38 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy