Unix administration - Cut a display command

This is Interesting: Free IT Magazines  
Home > Archive > Unix administration > September 2004 > Cut a display command





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Cut a display command
Administrateur de systemes

2004-09-22, 9:21 pm

Hi all gurus !

I would like to find a way to keep only the 3 last line of a command !


for example

{bash} Command

line 1
line 2
line 3
line 4
line 5
line 6


Wanted display

line 4
line 5
line 6

as a display il would like only the 3 last lines .

Thanks in advance !
Stephane CHAZELAS

2004-09-22, 9:21 pm

2004-09-20, 14:23(+00), Administrateur de systemes:
[...]
> I would like to find a way to keep only the 3 last line of a command !

[...]

Command | tail -3

--
Stephane
Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com