Sponsored Content
Operating Systems OS X (Apple) Finding a file with ls command Post 302958588 by RudiC on Friday 23rd of October 2015 01:14:54 PM
Old 10-23-2015
Please use code tags as required by forum rules!

Last file by which key? I'd think you need some piping like ls | sort | tail.
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Finding out how long a command takes to run

Hi I am trying to find out the best way to find out how long a command takes to run in miliseconds .. Is there such a way of doing this in Unix ? Thanks (3 Replies)
Discussion started by: cfoxwell
3 Replies

2. Windows & DOS: Issues & Discussions

Finding printers from a command prompt

Does anyone know how I can find printers from a dos prompt? I'm trying to create a batch file which cats the printers and their locations to another file which I will use later in the script. Maybe windows has a file from which I may read in this information? Thanks! (1 Reply)
Discussion started by: gseyforth
1 Replies

3. Shell Programming and Scripting

Shell Command for finding out Firefox version

Hi I need a shell command for finding out Firefox browser verion on linux machine. Waiting for your reply. Thanks and Regards, Kammy. (0 Replies)
Discussion started by: kjannu
0 Replies

4. UNIX Desktop Questions & Answers

Finding USB version on command line

Would anyone happen to know what to grep for finding the version of the USB ports are on the system through the command line? Thanks. (1 Reply)
Discussion started by: eightysix
1 Replies

5. Shell Programming and Scripting

Finding Heap size Command--Urgent

Hi Friends, i need a unix command to check the heap space availability on unix system as I am getting following error: Error occurred during initialization of VM Could not reserve enough space for object heap Error occurred during initialization of VM Could not reserve enough space for... (2 Replies)
Discussion started by: Anji
2 Replies

6. Shell Programming and Scripting

awk command for finding field in a file

hi guys i have this file with column number 7 as below: 0 1416 49 37 5 3 2 0 0 0 21 0 26 ... (5 Replies)
Discussion started by: npatwardhan
5 Replies

7. Shell Programming and Scripting

finding * in command line argument

I have to write a script to determine whether given command line argument ($1) contains "*" symbol or not, if $1 does not contains "*" symbol add it to $1, otherwise show message "Symbol is not required". For e.g. If we called this script q5 then after giving , $ q5 /bin Here $1 is /bin, it... (5 Replies)
Discussion started by: cynosure2009
5 Replies

8. Shell Programming and Scripting

Finding some records with sed command

Hi for all! sorry guys for my dumb question, but I'm really need help so, we have file with many many fields, like this one: 201001002359 blablabla 87654321 201001002359 123,56 77272588300 blablabla/123 91823778544and I wrote awk command awk '{if($6~/(2588300|2580000|2587021)$/)print}'so,... (8 Replies)
Discussion started by: shizik
8 Replies

9. Shell Programming and Scripting

cp Command not finding files

I am completely stumped. I am attempting to run the cp command in the following context: cp '/home/spinner0205/directory/directory/*.log' '/home/spinner0205/otherdirectory/combined.txt' The "directory" contains anywhere from 5-50 something.log files. I want to copy the contents of these... (4 Replies)
Discussion started by: spinner0205
4 Replies

10. UNIX for Advanced & Expert Users

Command for finding RAM size in HP-UX

I am trying to find RAM size in my HP-UNIX server. what command I should use for this? I am using top command but not clear about below line from top o/p Memory: 1517080K (471284K) real, 1877692K (751256K) virtual, 8078944K free Page# 1/6 (3 Replies)
Discussion started by: venkatababu
3 Replies
WWW::Search::Yahoo::News::Advanced(3pm) 		User Contributed Perl Documentation		   WWW::Search::Yahoo::News::Advanced(3pm)

NAME
WWW::Search::Yahoo::News::Advanced - search Yahoo!News using the "advanced" interface SYNOPSIS
use WWW::Search; my $oSearch = new WWW::Search('Yahoo::News::Advanced'); my $sQuery = WWW::Search::escape_query("George Lucas"); $oSearch->date_from('7 days ago'); $oSearch->date_to ('now'); $oSearch->native_query($sQuery); while (my $oResult = $oSearch->next_result()) print $oResult->url, " "; DESCRIPTION
This class is a Yahoo! News specialization of WWW::Search. It handles making and interpreting searches on Yahoo! News http://news.yahoo.com using the Advanced search interface. This class exports no public interface; all interaction should be done through WWW::Search objects. NOTES
This backend supports narrowing the search by date-range. Use date_from() and date_to() to set the endpoints of the desired date range. You can use any date format supported by the Date::Manip module. NOTE that Yahoo only seems to keep the last 60 days worth of news in its searchable index. At one time, News.yahoo.com would die if the unescaped query is longer than 485 characters or so. This backend does NOT check for that. SEE ALSO
To make new back-ends, see WWW::Search. BUGS
To report a new bug, please use https://rt.cpan.org/Ticket/Create.html?Queue=WWW-Search-Yahoo AUTHOR
"WWW::Search::Yahoo::News::Advanced" is maintained by Martin Thurn (mthurn@cpan.org). LEGALESE
Copyright (C) 1998-2009 Martin 'Kingpin' Thurn THIS SOFTWARE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. perl v5.12.4 2011-11-02 WWW::Search::Yahoo::News::Advanced(3pm)
All times are GMT -4. The time now is 11:24 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy