01-17-2008
thanks now i m able to get 1st kinf of files.........
but 1st kind of files are also like this
file1.log.123
file1.log.12
file1.log.10
ls -ltr *.log.[1-9]--------its grepping those file which have till 9,even i wnt to grep all the numbers like for example file1.log.12.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
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
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
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
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
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
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
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
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
help me (2 Replies)
Discussion started by: sonu pandey
2 Replies
10. Shell Programming and Scripting
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
LEARN ABOUT DEBIAN
gtk2::gdk::keymap
Gtk2::Gdk::Keymap(3pm) User Contributed Perl Documentation Gtk2::Gdk::Keymap(3pm)
NAME
Gtk2::Gdk::Keymap - wrapper for GdkKeymap
HIERARCHY
Glib::Object
+----Gtk2::Gdk::Keymap
METHODS
modifiertype = $keymap->add_virtual_modifiers ($state)
o $state (Gtk2::Gdk::ModifierType)
Since: gtk+ 2.20
boolean = $keymap->get_caps_lock_state
Since: gtk+ 2.16
keymap = Gtk2::Gdk::Keymap->get_default
direction = $keymap->get_direction
({ key1, keyval1 }, { ... }) = $keymap->get_entries_for_keycode (hardware_keycode)
o $hardware_keycode (integer)
Returns a list of hash references, each with two keys: "key" pointing to a GdkKeymapKey and "keyval" pointing to the corresponding key
value.
keys = $keymap->get_entries_for_keyval (keyval)
o $keyval (integer)
Returns a list of GdkKeymapKeys.
Obtains a list of keycode/group/level combinations that will generate $keyval. Groups and levels are two kinds of keyboard mode; in
general, the level determines whether the top or bottom symbol on a key is used, and the group determines whether the left or right symbol
is used. On US keyboards, the shift key changes the keyboard level, and there are no groups. A group switch key might convert a keyboard
between Hebrew to English modes, for example. Gtk2::Gdk::Event::Key contains a group field that indicates the active keyboard group. The
level is computed from the modifier mask.
keymap = Gtk2::Gdk::Keymap->get_for_display ($display)
o $display (Gtk2::Gdk::Display)
Since: gtk+ 2.2
boolean = $keymap->have_bidi_layouts
Since: gtk+ 2.12
integer = $keymap->lookup_key ($key)
o $key (scalar)
(bool, new_state) = $keymap->map_virtual_modifiers (keymap, state)
o $state (Gtk2::Gdk::ModifierType)
Since: gtk+ 2.20
(keyval, effective_group, level, consumed_modifiers) = $keymap->translate_keyboard_state (hardware_keycode, state, group)
o $hardware_keycode (integer)
o $state (Gtk2::Gdk::ModifierType)
o $group (integer)
SIGNALS
state-changed (Gtk2::Gdk::Keymap)
direction-changed (Gtk2::Gdk::Keymap)
keys-changed (Gtk2::Gdk::Keymap)
ENUMS AND FLAGS
flags Gtk2::Gdk::ModifierType
o 'shift-mask' / 'GDK_SHIFT_MASK'
o 'lock-mask' / 'GDK_LOCK_MASK'
o 'control-mask' / 'GDK_CONTROL_MASK'
o 'mod1-mask' / 'GDK_MOD1_MASK'
o 'mod2-mask' / 'GDK_MOD2_MASK'
o 'mod3-mask' / 'GDK_MOD3_MASK'
o 'mod4-mask' / 'GDK_MOD4_MASK'
o 'mod5-mask' / 'GDK_MOD5_MASK'
o 'button1-mask' / 'GDK_BUTTON1_MASK'
o 'button2-mask' / 'GDK_BUTTON2_MASK'
o 'button3-mask' / 'GDK_BUTTON3_MASK'
o 'button4-mask' / 'GDK_BUTTON4_MASK'
o 'button5-mask' / 'GDK_BUTTON5_MASK'
o 'super-mask' / 'GDK_SUPER_MASK'
o 'hyper-mask' / 'GDK_HYPER_MASK'
o 'meta-mask' / 'GDK_META_MASK'
o 'release-mask' / 'GDK_RELEASE_MASK'
o 'modifier-mask' / 'GDK_MODIFIER_MASK'
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'
SEE ALSO
Gtk2, Glib::Object
COPYRIGHT
Copyright (C) 2003-2011 by the gtk2-perl team.
This software is licensed under the LGPL. See Gtk2 for a full notice.
perl v5.14.2 2012-05-27 Gtk2::Gdk::Keymap(3pm)