hey guys this is my first post here, heard a lot about these forums. Iam urgently in need of a command which would help me accomplish the following , for example a file has these contents:
211 61 2007-06-26 13:47:32
211 61 2007-06-26 09:53:43
211 61 2007-06-26 15:25:14
211 61 2007-06-26... (5 Replies)
Hi,
I want to use egrep to match this expression in my file. The expression begins with the word SCHEDULE and ends with PFTDGNIN. In between these 2 words there can be anything.
EX: Line1: SCHEDULE NWERRR#PFTDGNIN
Line2: FOLLOWS NWD@AAS#PFTDGNIN
So as a result of the egrep command... (1 Reply)
I'm new to egrep. What pattern could I use to find all lines that match this pattern: <beginning of line><any amount of whitespace>sub<space>. I want it to return the entire line.
(I'm trying to generate a list of all Perl sub definitions in a list of Perl modules.)
Thanks for your help! (7 Replies)
Hi
I need to look for the range dates of access_log for example:
between 02/May/2009:14:56:20 and 05/May/2009:18:46:06
then write the content to another file. Date and time is very important for me to concatenate them into access_log later.
Thanks (2 Replies)
This is my first post, please be nice. I have tried to google and read different tutorials.
The task at hand is:
Input file input.txt (example)
abc123defhij-E-1234jslo
456ujs-W-abXjklp
From this file the task is to grep the -E- and -W- strings that are unique and write a new file... (5 Replies)
I am working on a scraping project and I am stuck at this tiny grep pattern match.
Sample text :
FPA List. FPA List. FPA List. FPA List. FPA List. FPA List. FPA List. FPA List.
ABC Personal Planning
Catherine K. Wat
Cath Wat
Catherine K. Wat
Catherine K. Wat
IFRAME:... (8 Replies)
Hi All,
Please i need to know the difference between grep, egrep & grep -i when used to serach through a file.
My platform is SunOS 5.9 & i'm using the korn shell.
Regards,
- divroro12 - (2 Replies)
Hi,
I need advice on a simiple pattern check,
Orginal Code
bpimagelist -backupid xxxxxxxxxxxxx | grep "FRAG " | egrep -i "C5|W5" | awk 'NR==1{print $2,$9}
1 MAC514
What i want is to find any media beinging with C5|W5. I have tried ^C5|^W5, but this does not work.
Removed... (3 Replies)
Hi ,
I have a file where i have modifed certain things compared to original file . The difference of the original file and modified file is as follows.
# diff mir_lex.c.modified mir_lex.c.orig
3209c3209
< if(yy_current_buffer -> yy_is_our_buffer == 0) {
---
>... (5 Replies)
I have this fileA
TEST FILE ABC
this file contains ABC;
TEST FILE DGHT this file contains DGHT;
TEST FILE 123
this file contains ABC,
this file contains DEF,
this file contains XYZ,
this file contains KLM
;
I want to have a fileZ that has only (begin search pattern for will be... (2 Replies)
Discussion started by: vbabz
2 Replies
LEARN ABOUT DEBIAN
vde_l3
VDE_L3(1) General Commands Manual VDE_L3(1)NAME
vde_l3 - Virtual Distributed Ethernet 'Layer 3' Switch.
SYNOPSIS
vde_l3 -v vde_plug:ipaddress/netmask [-v...] [-r target_network/netmask:gateway] [-G default_gw] [-M mgmt_socket]
DESCRIPTION
A vde_l3 connects to one or more vde_switches, performing ip forwarding among its virtual interfaces. A new interface is created at startup
for each -v option given at command line. Static routes to target networks can be defined using the -r option.
vde_l3 -v /var/run/s1.ctl:192.168.0.1/24
connects to the vde sock at /var/run/s1.ctl with its virtual interface ve0, having the address 192.168.0.1 and netmask 255.255.255.0.
vde_l3
-v /var/run/s1.ctl:192.168.0.1/24
-v /var/run/s2.ctl:10.0.0.254/255.255.0.0
connects to the two vde socks, with its virtual interfaces ve0 and ve1, having addressess 192.168.1.0 and 10.0.0.254 respectively. Hosts in
each network can specify the vde_l3 as their gateway to reach the other one.
OPTIONS -v vde_plug:ipaddress/netmask
Creates a virtual network interfaces on the vde_l3 box, with address ipaddress and netmask netmask. Please note that the netmask can
be specified either in the 'classic' A.B.C.D mode, or just by giving the number of leading bits (f.e., /17 for 255.255.128.0). One
can define as many interfaces as she wants.
-r target_network/netmask:gateway
Specify a static route through gateway to reach hosts in target_network with netmask netmask. One can define as many routes as she
wants.
-G default_gw
Specify a default gateway, to be used whenever no static route is defined for a target host.
-M mgmt_socket
the unix socket where the parameters (interfaces addresses, routes, etc.) can be checked and changed runtime. unixterm(1) can be
used as a remote terminal for wirefilter.
NOTICE
Virtual Distributed Ethernet is not related in any way with www.vde.com ("Verband der Elektrotechnik, Elektronik und Informationstechnik"
i.e. the German "Association for Electrical, Electronic & Information Technologies").
SEE ALSO vde_switch(1), vdeq(1), unixterm(1), vde_cryptcab(1), wirefilter(1).
AUTHORS
VDE_L3 is a tool by Daniele Lacamera <root@danielinux.net>
VDE is a project by Renzo Davoli <renzo@cs.unibo.it>
Virtual Distributed Ethernet May 7, 2007 VDE_L3(1)