Sponsored Content
Top Forums Shell Programming and Scripting Find cmd not working as expected Post 302134121 by namishtiwari on Wednesday 29th of August 2007 02:11:30 AM
Old 08-29-2007
either you can use--

ls -ltr /appl/Output/Admin*

Thanks
Namish
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

which not working as expected

Hello. Consider the following magic words: # ls `which adduser` ls: /usr/sbin/adduser: No such file or directory # Hmmm... Then: # ls /usr/sbin/adduser /usr/sbin/adduser # Now what? Unforunately this little sniippet is used in my debian woody server's mysql pre install script.... (2 Replies)
Discussion started by: osee
2 Replies

2. Shell Programming and Scripting

su cmd not working

HI all, i want to run various Unix cmds thru a java prg. following is the code which i have written. ------------------------------------------------------------------- import java.io.*; class Run { public static void main(String args) { String ls_str; try{ Process cmd_su =... (1 Reply)
Discussion started by: sonbag_pspl
1 Replies

3. UNIX for Dummies Questions & Answers

Find command not working as expected

I have a script with a find command using xargs to copy the files found to another directory. The find command is finding the appropriate file, but it's not copying. I've checked permissions, and those are all O.K., so I'm not sure what I'm missing. Any help is greatly appreciated. This is... (2 Replies)
Discussion started by: mpflug
2 Replies

4. Solaris

Find cmd working in Linux and not in SunSolaris 5.8

find . -type f -mtime -1 -ls command not working in sun solaris 5.8 (4 Replies)
Discussion started by: navjotbaweja
4 Replies

5. Shell Programming and Scripting

Find cmd not working correctly in script

I am trying to copy 2 types of files so I can archive them. I tested with a set of commands: touch -t $(date -d "-60 day" +%Y%m%d) WORKDIR/REF find TARGETDIR/ -type f -maxdepth 1 -iname \*.out\* -or -iname \*.log\* ! -newer WORKDIR/REF -exec ls -l {} \; This correctly lists any files in the... (2 Replies)
Discussion started by: prismtx
2 Replies

6. Shell Programming and Scripting

Why this is not working in expected way?

total=0 seq 1 5 | while read i ; do total=$(($total+$i)) echo $total done echo $totalThis outputs: 1 3 6 10 15 0whereas I am expecting: 1 3 6 10 15 15My bash version: (4 Replies)
Discussion started by: meharo
4 Replies

7. Red Hat

how passwd cmd is working

how unix users able to change their password even if they have only read permissions and how backend process will be happening can u explain me which are files need to involved in this process (3 Replies)
Discussion started by: ponmuthu
3 Replies

8. Shell Programming and Scripting

basename not working as expected from find -exec

I have the following files in a directory > ls -1 /tmp/test/dir/ file with spaces 1.ogg file with spaces 2.oggI am running the following to echo the filenames but alter the file extension on the files to .mp3 instead of .ogg ( I am going to run ffmpeg against the files ultimately, but keeping... (2 Replies)
Discussion started by: jelloir
2 Replies

9. UNIX for Advanced & Expert Users

Test -e not working as expected (by me)

I ran into the following and still do not understand entirely the rationale behind this. If someone could explain why things are as they are I'd be thankful. The following was tested on AIX 7.1 with ksh88, but i suspect that to be ubiquitous. In an installation routine i had to create a set of... (6 Replies)
Discussion started by: bakunin
6 Replies

10. UNIX for Advanced & Expert Users

Manipulate files with find and fuser not working as expected on SunOs

Greetings, For housekeeping, I use the following command: find /some/path -type f -name "*log*" ! -exec fuser -s "{}" 2>/dev/null \; -exec ls -lh {} \; It finds all log files not currently in use by a process and manipulates them. This command always works on linux and redhat machines,... (2 Replies)
Discussion started by: dampio
2 Replies
WWW::Facebook::API::Admin(3pm)				User Contributed Perl Documentation			    WWW::Facebook::API::Admin(3pm)

NAME
WWW::Facebook::API::Admin - Facebook Admin SYNOPSIS
use WWW::Facebook::API; DESCRIPTION
Methods for accessing Admin functions with WWW::Facebook::API SUBROUTINES
/METHODS base Returns the WWW::Facebook::API base object. new Constructor. get_allocation( %params ) The Admin.getAllocation method of the Facebook API. $allocation = $client->Admin->get_allocation( integration_point_name => 'notifications_per_day', ); get_metrics( %params ) The Admin.getMetrics method of the Facebook API. $result = $client->Admin->get_metrics( start_time => 1222285298, end_time => 1222300000, period => 86400, metrics => '["active_users", "canvas_page_views"]' ); get_app_properties( %params ) The Admin.getAppProperties method of the Facebook API. $properties = $client->Admin->get_app_properties( properties => '["application_name","callback_url"]' ); set_app_properties( %params ) The Admin.setAppProperties method of the Facebook API. $result = $client->Admin->set_app_properties( properties => encode_json { application_name => 'testapp', callback_url => 'http://example.com/testapp/' } ); get_restriction_info( %params ) The Admin.getRestrictionInfo method of the Facebook API. $result = $client->Admin->get_restriction_info(); set_restriction_info( %params ) The Admin.setRestrictionInfo method of the Facebook API. $result = $client->Admin->set_restriction_info( encode_json { age => '21+', location => 'us' } ); ban_users( %params ) The Admin.banUsers method of the Facebook API. $result = $client->Admin->ban_users( uids => [@uids] ); ==item unban_users( %params ) The Admin.unbanUsers method of the Facebook API. $result = $client->Admin->unban_users( uids => [@uids] ); get_banned_users( %params ) The Admin.getBannedUsers method of the Facebook API. $result = $client->Admin->getBannedUsers(); DIAGNOSTICS
None. CONFIGURATION AND ENVIRONMENT
WWW::Facebook::API::Admin requires no configuration files or environment variables. DEPENDENCIES
See WWW::Facebook::API INCOMPATIBILITIES
None reported. BUGS AND LIMITATIONS
No bugs have been reported. Please report any bugs or feature requests to "bug-www-facebook-api@rt.cpan.org", or through the web interface at <http://rt.cpan.org>. AUTHORS
David Romano "<unobe@cpan.org>" Thomas Burke "<tburke@cpan.org>" LICENSE AND COPYRIGHT
Copyright (c) 2008-2010, David Romano "<unobe@cpan.org>". All rights reserved. This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself. See perlartistic. DISCLAIMER OF WARRANTY
BECAUSE THIS SOFTWARE IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY FOR THE SOFTWARE, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE SOFTWARE "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE SOFTWARE IS WITH YOU. SHOULD THE SOFTWARE PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR, OR CORRECTION. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR REDISTRIBUTE THE SOFTWARE AS PERMITTED BY THE ABOVE LICENSE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE SOFTWARE (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE SOFTWARE TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. perl v5.10.1 2010-03-13 WWW::Facebook::API::Admin(3pm)
All times are GMT -4. The time now is 01:52 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy