Sponsored Content
Full Discussion: ls -ltr help
Top Forums Shell Programming and Scripting ls -ltr help Post 302158790 by ghostdog74 on Wednesday 16th of January 2008 09:29:26 AM
Old 01-16-2008
Quote:
Originally Posted by ali560045
i have to list some file with certain exemption

suppose for example i have two files

file1.log.1

file1.log.1.123

i want ls -ltr command to list only 1st type of files

so i want like this

ls -ltr *.log.*---------it should grep 1st kind of files but this command greps all the files both of type 1 and 2.

plz help me to list only those file of 1st kind
how many kinds of type 1 files do you have. For only those 2 types tested
Code:
# ls -ltr *.log.[1-9]

 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

what does the ls -ltr command list

Hi, THe following is the output when i run the command ls -ltr can anyone explain the meaning of the field in red -rw-r----- 3 orca orca 20924 Sep 08 19:21 BTL027SASI.gnt -rw-r----- 3 orca orca 20924 Sep 08 19:21 BTL027RITD.gnt -rw-r----- 3 orca orca ... (2 Replies)
Discussion started by: ranjita.c
2 Replies

2. UNIX for Advanced & Expert Users

ls -ltr, TIME DETAILS ??

when I write the command ls -ltr it shows the detail of the files. Like -rwxrwxrwx 1 mqsiadm mqbrkrs 0 Aug 29 14:03 dspmq_temp -rwxrwxrwx 1 mqsiadm mqbrkrs 666 Aug 30 06:12 dspmq_script In this,DATE TIME is shown, Now the question is : how can I see the all the times... (5 Replies)
Discussion started by: varungupta
5 Replies

3. Shell Programming and Scripting

Printing Year in ls -ltr command

Hi, When retrieving parameters of a file using ls command i need to print the year part . When i do ls -ltr the following output is displayed -rwxrwxrwx 1 d_infd d_infd 1711 Jan 8 2004 wf1.class. Here the year part is not displayed only Jan 8 is displayed. Can any one... (9 Replies)
Discussion started by: ragugct
9 Replies

4. Shell Programming and Scripting

How to parse the listing (ls -ltr)

Hi, I need to parse the listing (ls -ltr) in a given directory and get a particular value to see the success or failure. e.g drwxr-xr-x 5 sensr vpnuser 512 Nov 7 07:46 disc_001811. Here i need to take the value 5 which is after drwxr-xr-x . how to so the same in shell... (1 Reply)
Discussion started by: MuthuAlagappan
1 Replies

5. Solaris

using ls -ltr : display only last four file names

Hi , Server details – Machine hardware: sun4u OS version: 5.9 Processor type: sparc Hardware: SUNW,Sun-Fire-880 When I put ls –ltr command I get – /users/testuser> ls -ltr -rw-rw-r-- 1 testuser dba 76 Jan 13 2009 ftp.scr -rwxr-xr-x 1... (6 Replies)
Discussion started by: rahulbahulekar
6 Replies

6. UNIX for Dummies Questions & Answers

Not able to run ls -ltr

Hi , Whenever i try to execute ls with l as an option the system hangs. The workload on server is not more than 1. What could be the reason . Normal ls works fine but ls -l causes the system to hang. This is happening when i m in /usr/local/sbin directory. I can see that the... (4 Replies)
Discussion started by: pinga123
4 Replies

7. Programming

Ls -ltr Sort multiple columns

Hi All, I have one requirement, where I need to have output of ls -l command sorted on 1) first on filename 2) last modified time ( descending ) - latest change first. I am not able to figure out how to do it.. Also I dont have a way to change Date display for ls -ltr command.. I am... (1 Reply)
Discussion started by: freakabhi
1 Replies

8. Shell Programming and Scripting

Ls -ltr in scripting

Hi All, I wrote below script for i in `ls` do echo "list of files $i" done but i want display as like ls -ltr,it's displaying as one column Thanks (14 Replies)
Discussion started by: bmk
14 Replies

9. Shell Programming and Scripting

I have two commands “ls -h” and “ls -ltr”. How do i make sure “ls -ltr” is run after “ls -h” is suc

help me (2 Replies)
Discussion started by: sonu pandey
2 Replies

10. Shell Programming and Scripting

Fields in the Output of ls -ltr for a directory

Could you please let me know what each of the output fields in ls -ltr for a directory imply. Example : drwxrwsr-x 4294967295 infamgr infagrp 2147549184 Sep 2 17:01 job basically would want to know 4294967295 and 2147549184 (6 Replies)
Discussion started by: infernalhell
6 Replies
Pango::Language(3pm)					User Contributed Perl Documentation				      Pango::Language(3pm)

NAME
Pango::Language - an object that represents a language tag HIERARCHY
Glib::Boxed +----Pango::Language METHODS
language = Pango::Language->get_default Since: pango 1.16 direction = Pango->find_base_dir ($text) o $text (string) Since: pango 1.4 language = Pango::Language->from_string ($language) o $language (string) boolean = $language->includes_script ($script) o $script (Pango::Script) Since: pango 1.4 boolean = $language->matches ($range_list) o $range_list (string) string = $language->to_string ENUMS AND FLAGS
enum Pango::Direction o 'ltr' / 'PANGO_DIRECTION_LTR' o 'rtl' / 'PANGO_DIRECTION_RTL' o 'ttb-ltr' / 'PANGO_DIRECTION_TTB_LTR' o 'ttb-rtl' / 'PANGO_DIRECTION_TTB_RTL' o 'weak-ltr' / 'PANGO_DIRECTION_WEAK_LTR' o 'weak-rtl' / 'PANGO_DIRECTION_WEAK_RTL' o 'neutral' / 'PANGO_DIRECTION_NEUTRAL' enum Pango::Script o 'invalid-code' / 'PANGO_SCRIPT_INVALID_CODE' o 'common' / 'PANGO_SCRIPT_COMMON' o 'inherited' / 'PANGO_SCRIPT_INHERITED' o 'arabic' / 'PANGO_SCRIPT_ARABIC' o 'armenian' / 'PANGO_SCRIPT_ARMENIAN' o 'bengali' / 'PANGO_SCRIPT_BENGALI' o 'bopomofo' / 'PANGO_SCRIPT_BOPOMOFO' o 'cherokee' / 'PANGO_SCRIPT_CHEROKEE' o 'coptic' / 'PANGO_SCRIPT_COPTIC' o 'cyrillic' / 'PANGO_SCRIPT_CYRILLIC' o 'deseret' / 'PANGO_SCRIPT_DESERET' o 'devanagari' / 'PANGO_SCRIPT_DEVANAGARI' o 'ethiopic' / 'PANGO_SCRIPT_ETHIOPIC' o 'georgian' / 'PANGO_SCRIPT_GEORGIAN' o 'gothic' / 'PANGO_SCRIPT_GOTHIC' o 'greek' / 'PANGO_SCRIPT_GREEK' o 'gujarati' / 'PANGO_SCRIPT_GUJARATI' o 'gurmukhi' / 'PANGO_SCRIPT_GURMUKHI' o 'han' / 'PANGO_SCRIPT_HAN' o 'hangul' / 'PANGO_SCRIPT_HANGUL' o 'hebrew' / 'PANGO_SCRIPT_HEBREW' o 'hiragana' / 'PANGO_SCRIPT_HIRAGANA' o 'kannada' / 'PANGO_SCRIPT_KANNADA' o 'katakana' / 'PANGO_SCRIPT_KATAKANA' o 'khmer' / 'PANGO_SCRIPT_KHMER' o 'lao' / 'PANGO_SCRIPT_LAO' o 'latin' / 'PANGO_SCRIPT_LATIN' o 'malayalam' / 'PANGO_SCRIPT_MALAYALAM' o 'mongolian' / 'PANGO_SCRIPT_MONGOLIAN' o 'myanmar' / 'PANGO_SCRIPT_MYANMAR' o 'ogham' / 'PANGO_SCRIPT_OGHAM' o 'old-italic' / 'PANGO_SCRIPT_OLD_ITALIC' o 'oriya' / 'PANGO_SCRIPT_ORIYA' o 'runic' / 'PANGO_SCRIPT_RUNIC' o 'sinhala' / 'PANGO_SCRIPT_SINHALA' o 'syriac' / 'PANGO_SCRIPT_SYRIAC' o 'tamil' / 'PANGO_SCRIPT_TAMIL' o 'telugu' / 'PANGO_SCRIPT_TELUGU' o 'thaana' / 'PANGO_SCRIPT_THAANA' o 'thai' / 'PANGO_SCRIPT_THAI' o 'tibetan' / 'PANGO_SCRIPT_TIBETAN' o 'canadian-aboriginal' / 'PANGO_SCRIPT_CANADIAN_ABORIGINAL' o 'yi' / 'PANGO_SCRIPT_YI' o 'tagalog' / 'PANGO_SCRIPT_TAGALOG' o 'hanunoo' / 'PANGO_SCRIPT_HANUNOO' o 'buhid' / 'PANGO_SCRIPT_BUHID' o 'tagbanwa' / 'PANGO_SCRIPT_TAGBANWA' o 'braille' / 'PANGO_SCRIPT_BRAILLE' o 'cypriot' / 'PANGO_SCRIPT_CYPRIOT' o 'limbu' / 'PANGO_SCRIPT_LIMBU' o 'osmanya' / 'PANGO_SCRIPT_OSMANYA' o 'shavian' / 'PANGO_SCRIPT_SHAVIAN' o 'linear-b' / 'PANGO_SCRIPT_LINEAR_B' o 'tai-le' / 'PANGO_SCRIPT_TAI_LE' o 'ugaritic' / 'PANGO_SCRIPT_UGARITIC' o 'new-tai-lue' / 'PANGO_SCRIPT_NEW_TAI_LUE' o 'buginese' / 'PANGO_SCRIPT_BUGINESE' o 'glagolitic' / 'PANGO_SCRIPT_GLAGOLITIC' o 'tifinagh' / 'PANGO_SCRIPT_TIFINAGH' o 'syloti-nagri' / 'PANGO_SCRIPT_SYLOTI_NAGRI' o 'old-persian' / 'PANGO_SCRIPT_OLD_PERSIAN' o 'kharoshthi' / 'PANGO_SCRIPT_KHAROSHTHI' o 'unknown' / 'PANGO_SCRIPT_UNKNOWN' o 'balinese' / 'PANGO_SCRIPT_BALINESE' o 'cuneiform' / 'PANGO_SCRIPT_CUNEIFORM' o 'phoenician' / 'PANGO_SCRIPT_PHOENICIAN' o 'phags-pa' / 'PANGO_SCRIPT_PHAGS_PA' o 'nko' / 'PANGO_SCRIPT_NKO' o 'kayah-li' / 'PANGO_SCRIPT_KAYAH_LI' o 'lepcha' / 'PANGO_SCRIPT_LEPCHA' o 'rejang' / 'PANGO_SCRIPT_REJANG' o 'sundanese' / 'PANGO_SCRIPT_SUNDANESE' o 'saurashtra' / 'PANGO_SCRIPT_SAURASHTRA' o 'cham' / 'PANGO_SCRIPT_CHAM' o 'ol-chiki' / 'PANGO_SCRIPT_OL_CHIKI' o 'vai' / 'PANGO_SCRIPT_VAI' o 'carian' / 'PANGO_SCRIPT_CARIAN' o 'lycian' / 'PANGO_SCRIPT_LYCIAN' o 'lydian' / 'PANGO_SCRIPT_LYDIAN' SEE ALSO
Pango, Glib::Boxed COPYRIGHT
Copyright (C) 2003-2011 by the gtk2-perl team. This software is licensed under the LGPL. See Pango for a full notice. perl v5.14.2 2011-11-15 Pango::Language(3pm)
All times are GMT -4. The time now is 06:45 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy