Sponsored Content
Top Forums Shell Programming and Scripting Selecting latest entry in the log file Post 303000650 by simpsa27 on Monday 17th of July 2017 06:26:12 AM
Old 07-17-2017
Thank you so much Ravinder!

That works just how I need it. Fantatsic.

Can I ask you to explain it so I can get a better understanding!

Cheers
Alex
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

latest status of an field in a log file

Hi I have got a log file which is like: id status --------------------- 12345 status1.true 12345 status2.true 12345 status3.false 12345 status4.true 23452 status5.true 23452 status6.true 23452 status7.false 65243 ... (2 Replies)
Discussion started by: encrypted
2 Replies

2. Shell Programming and Scripting

how can i pick the latest log file as per below

in the below .. i want to pick the latest logfile which is having JPS.PR inside.. that means i want particularly "spgport040408041223.log:@@@@@@@@ 04:13:09 Adding: JPS.PR." which is latest among these.. is it possible to compare the current time with logfile time ? reptm@xblr0758rop>... (4 Replies)
Discussion started by: mail2sant
4 Replies

3. Shell Programming and Scripting

Perl's buffered I/O is causing me to miss latest log file entries in log colorizer. How to fix?

I've been finding myself using a log file colorizer written in perl to reformat and colorize the output from many different programs. Mainly, however, I use it to make the output from "tail -f" commands more readable. The base perl script I use is based on "colorlogs.pl" available from the... (1 Reply)
Discussion started by: rcsteiner
1 Replies

4. UNIX for Dummies Questions & Answers

Removing duplicate rows & selecting only latest date

Gurus, From a file I need to remove duplicate rows based on the first column data but also we need to consider a date column where we need to keep the latest date (13th column). Ex: Input File: Output File: I know how to take out the duplicates but I couldn't figure out... (5 Replies)
Discussion started by: shash
5 Replies

5. Solaris

Crontab latest entry disappearing

The latest crontab entry is disappearing time and again on acceptance and production environment. the same entry gets deleted. any pointers to what might be causing this issue? (1 Reply)
Discussion started by: bluenavi
1 Replies

6. Solaris

Crontab latest entry disappearing. plz help

The latest crontab entry is disappearing time and again on acceptance and production environment. the same entry gets deleted. any pointers to what might be causing this issue? (6 Replies)
Discussion started by: bluenavi
6 Replies

7. UNIX for Dummies Questions & Answers

Selecting the file of latest Date

Hi Folks, I have one query that there is a folder in which daily several logs files are getting created , I reached to that location through putty but what I observer that 10 files of different date are been created with same name , what I need to see is the latest file ...let say the location is ... (5 Replies)
Discussion started by: KAREENA18
5 Replies

8. Shell Programming and Scripting

Need to grep certain entry out of log file

This one is a bit too challenging for me... Hopefully you guys can help. Let's say I have a log file called: "$MW_HOME/user_projects/domains/IDMDomain/servers/wls_ods?/logs/wls_ods1-diagnostic.log" In this log file I want to search for "DIP-10219". When I execute this $ cat... (7 Replies)
Discussion started by: exm
7 Replies

9. UNIX for Beginners Questions & Answers

Selecting specific variable in log file

Hi there I am trying to look for a specific word in the log file and I am aware this can be done by grep for example. As there will be multiple entries for this I want to grep the last one to enter the log... how would I go about this - would I have to use tail? Thanks in advance Alex (4 Replies)
Discussion started by: simpsa27
4 Replies

10. Shell Programming and Scripting

Monitor and capture the latest entry from the log file

Hi, I want to monitor a log file using tail -f command and search for a specific string on the most recent entry from the file. If the search string matches with the most recent or last line from the file, I want send an email to the people with the message. tail -f service.log|tail -n 1 ... (5 Replies)
Discussion started by: svajhala
5 Replies
alex4(6)							   Games Manual 							  alex4(6)

NAME
alex4 - Alex the Allegator 4, a retro platform game SYNOPSIS
alex4 [gamefile] DESCRIPTION
Guide Alex the Allegator through the jungle in order to save his girlfriend Lola from evil humans who want to make a pair of shoes out of her. Alex the Allegator 4 is a platform game in the style of old Gameboy games. You can play the game with a keyboard or a joystick. On the keyboard the following keys are used: Arrow keys Movement Alt Jump Control Shoot (only when you've found eggs to fire!) When you're on the menu screen, you can choose the window size with the following keys: 1 160x120 window 2 320x240 window 3 640x480 window 4 full-screen CUSTOM MAPS
The Alex the Allegator homepage links to many user-contributed maps. Each set should contain several ".map" files and a text file describ- ing the collection. To play the maps, simply start alex4 with the name of the text file as argument. If you want to create your own maps, you can use the built-in map editor (described below), but you'll need to create the description file yourself. This is a plain text file that needs to list the file names of your maps between "#start#" and "#end#" markers (these markers are not optional). You can include a description of the maps outside these markers. For example, for a collection of three maps: In this game, Alex must rescue the Yellow Tetris Piece from the pirates of Ching Shih. #start# journey.map sea-of-despair.map endgame.map #end# USING THE MAP EDITOR
Use the map editor to create your own maps. You can enter the map editor from the menu screen or by pressing F1 while playing a custom map. The basic editor commands are: Shift+L load an existing map Shift+S save the map Insert+Left/Right widen the map Delete+Left/Right shorten the map F1 change the map's properties, e.g. its name. Maps are composed of tiles. Tiles can contain scenery, enemies, items and other game objects. The mouse cursor shows the currently selected tile. To draw tiles, use the left mouse button. You can cycle through the available tiles by using the z and x keys, choose a tile from a palette using the p key, or pick a tile from the screen using the right mouse button. Tiles can be given special behavior using the following commands: q instant death w map exit e roll activator r breakable block t submerged in water y on the water surface a Alex' start location (facing left) Shift+A Alex' start location (facing right) Use the following command to place items and enemies: 1 extra life 2 star bonus 3 cherry bonus 4 egg 5 extra heart Shift+Q grunt Shift+W spear grunt Shift+E crusher Shift+R spike fish Shift+T jellyfish Shift+Y cannon Shift+U spike truck boss Shift+I ground pounder boss SEE ALSO
The Alex the Allegator series homepage <http://allegator.sourceforge.net/> AUTHOR
Alex the Allegator 4 was written by Johan Peitz, Free Lunch Design. This manual page was written by Peter De Wachter <pdewacht@gmail.com>, for the Debian project (but may be used by others). 2008-02-07 alex4(6)
All times are GMT -4. The time now is 06:52 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy