04-06-2006
ls command to print fifo of contents (or perl)
Hello,
What are the options to print the contents of a directory in FIFO fashion?
I have searched the forum for something relative to this question and found no answers.
If there is a way please advise, if it has already been answered, please provide a link to the post.
Alternately if there is a perl solution I would be interested in it as well. Thanks.
Jerardfjay
10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
I have the following questions regrading Unix commands.
1. Could you provide the commands how to print the content of ".profile" and ".shrc" files on the screen using "more" and "piple" command?
2. How can i use the "head" and "tail" to display lines from 25 through 75...
3. How to search... (1 Reply)
Discussion started by: aadba
1 Replies
2. UNIX for Dummies Questions & Answers
Hi,
I am running this command in perl
print "this is a test message @1.00 pm\n"
but the output i am getting as
this is a test message .00 pm
pls help, how to get the proper output (2 Replies)
Discussion started by: vasikaran
2 Replies
3. Shell Programming and Scripting
i'm writing some simple scripts to help me learn perl.
why does the print command get called after the shell script is executed?
the purpose of the shell script is to simply echo to the screen "script run". which is does, but before the print command, you can clearly see the shell script is... (3 Replies)
Discussion started by: mjays
3 Replies
4. Shell Programming and Scripting
suppose u hava a file
G1354R tGGC-CGC
D1361N cGAC-AAC
I1424T ATC-ACC
R768W gCGG-TGG
Q1382R CAG-CGG
Q178E gCAG-GAG
Y181C TAC-TGC
.........cont.
So the question is
By searching for first word i.e.character say R
output shud be
R768W gCGG-TGG
R182P CGG-CCG
R189W ... (6 Replies)
Discussion started by: cdfd123
6 Replies
5. Shell Programming and Scripting
Hi,
Is there anyway to print contents of any file ( say log files that grow automatically) within some timeframe ( comparing with current time), say
print contents of the added in:
1) last 2 hr
2) last 45 min
3) last 3 hrs 47 min (3 Replies)
Discussion started by: fed.linuxgossip
3 Replies
6. Shell Programming and Scripting
AT
----------
0
Elapsed: 00:00:00.02
SO
----------
0
Elapsed: 00:00:00.01
SE
----------
0
Elapsed: 00:00:00.01
CR
---------- (4 Replies)
Discussion started by: sandy1028
4 Replies
7. Shell Programming and Scripting
Hi,
Need help in writing a script to read the contents of this file test
Test
00a
00b
00c
00d
00e
00f
where it need to read each line to give a display such as
form meta from dev 00a , config=Striped; add dev 00b:00f to meta 00a
Can any one help me in writing this script (2 Replies)
Discussion started by: praveen1516
2 Replies
8. Shell Programming and Scripting
I have the following code:
print @testarray;
which returns:
8
8
8
9
How do I return the array like this:
The output is: 8, 8, 8, 9 (5 Replies)
Discussion started by: streetfighter2
5 Replies
9. Linux
Hi,
I have a file in which I have to separate genes from phenotype data. I have written a program as given below which prints just the gene records.
1. But I want to print all the data under each specified record to the output file. So the file has all the data like for every record. An example... (2 Replies)
Discussion started by: kaav06
2 Replies
10. UNIX for Beginners Questions & Answers
I need to find a file and print its contents
I am trying but it is not working
find -path /opt/app-root/src/.npm/_logs -type f -name "*.log" -print
Version
$ bash -version
GNU bash, version 4.4.12(1)-release (x86_64-pc-msys) (1 Reply)
Discussion started by: SVRao19056
1 Replies
ED2K(1) aMule utilities ED2K(1)
NAME
ed2k - aMule eD2k link parser
SYNOPSIS
ed2k [-c <path>] [-t <num>] [-e] [-l] <eD2k-link>
ed2k [-h]
ed2k [-v]
DESCRIPTION
Sends the given <eD2k-link> to aMule, i.e. writes it to the file ~/.aMule/ED2KLinks, which will be checked by aMule every second for links.
[ -c <path>, --config-dir=<path> ]
Read config from <path> instead of home
[ -t, --category=<num> ]
Set category for passed eD2k links to <num>
[ -e, --emulecollection ]
Loads all link found in the emulecollection given as <ed2k-link>
[ -l, --list ]
Lists all link found in the emulecollection given as <ed2k-link>
[ -h, --help ]
Prints a short usage description.
[ -v, --version ]
Displays the current version number.
[ eD2k-link ]
Adds an eD2k-link to the core.
The eD2k link to be added can be:
o a file link (ed2k://|file|...), it will be added to the download queue;
o a server link (ed2k://|server|...), it will be added to the server list;
o a serverlist link, in which case all servers in the list will be added to the server list;
o a magnet link;
o an emulecollection file.
The order in which you give the parameters is important. You can give more than one link, and every link can have it's own params. For
example ed2k <link1> -t2 <link2> will download <link1> in standard category and <link2> in category 2.
FILES
~/.aMule/ED2KLinks
REPORTING BUGS
Please report bugs either on our forum (http://forum.amule.org/), or in our bugtracker (http://bugs.amule.org/). Please do not report bugs
in e-mail, neither to our mailing list nor directly to any team member.
COPYRIGHT
aMule and all of its related utilities are distributed under the GNU General Public License.
SEE ALSO
amule(1)
AUTHOR
This manpage was written by Vollstrecker <amule@vollstreckernet.de>
aMule eD2k link parser v1.5.1 November 2011 ED2K(1)