Sponsored Content
Full Discussion: Join?
Top Forums UNIX for Dummies Questions & Answers Join? Post 302922378 by Scrutinizer on Friday 24th of October 2014 08:47:49 AM
Old 10-24-2014
You are welcome... Correct, and yes file 2 gets read before file 1.
 

9 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

join (pls help on join command)

Hi, I am a new learner of join command. Some result really make me confused. Please kindly help me. input: file1: LEO oracle engineer 210375 P.Jones Office Runner ID897 L.Clip Personl Chief ID982 S.Round UNIX admin ID6 file2: Dept2C ID897 6 years Dept5Z ID982 1 year Dept3S ID6 2... (1 Reply)
Discussion started by: summer_cherry
1 Replies

2. Shell Programming and Scripting

Join

Hi, need some help in joining please, FILE 1: ------- 1|05/20/2009| 2|04/21/2009| 2|03/21/2009| FILE 2: ------- 1|Michel|Hawkins|05/10/2009| 1|Michel|Hawkins|03/10/2007| 2|Krish|Lander|09/10/2005| FILE 3: ------- 1|M|32|03/22/2009| 2|M|42|04/22/2009| 2|M|41|03/10/2008| I want to... (7 Replies)
Discussion started by: greenworld
7 Replies

3. Programming

sql,multiple join,outer join issue

example sql: select a.a1,b.b1,c.c1,d.d1,e.e1 from a left outer join b on a.x=b.x left outer join c on b.y=c.y left outer join d on d.z=a.z inner join a.t=e.t I know how single outer or inner join works in sql. But I don't really understand when there are multiple of them. can... (0 Replies)
Discussion started by: robbiezr
0 Replies

4. Shell Programming and Scripting

Join

joining two files: File1: ----- 1|M 2|M 3|F File2: ----- 1|abc|def 3|xyz|pqr join -t '|' 1.txt 2.txt gives(Itried many other ways) 1|M|abc|def 3|F|xyz|pqr but I need the result like following (14 Replies)
Discussion started by: greenworld
14 Replies

5. UNIX for Dummies Questions & Answers

Use of join

I want basically to merge two config files each of them look like that File:Option1 value1 Optionx valuex .... One of those files is default config while the other is generated by my script. Now here is the problem, when my script generates an option that previously has been set by default i... (4 Replies)
Discussion started by: Adas
4 Replies

6. UNIX for Dummies Questions & Answers

Join 2 files with multiple columns: awk/grep/join?

Hello, My apologies if this has been posted elsewhere, I have had a look at several threads but I am still confused how to use these functions. I have two files, each with 5 columns: File A: (tab-delimited) PDB CHAIN Start End Fragment 1avq A 171 176 awyfan 1avq A 172 177 wyfany 1c7k A 2 7... (3 Replies)
Discussion started by: InfoSeeker
3 Replies

7. UNIX for Dummies Questions & Answers

how to join two files using "Join" command with one common field in this problem?

file1: Toronto:12439755:1076359:July 1, 1867:6 Quebec City:7560592:1542056:July 1, 1867:5 Halifax:938134:55284:July 1, 1867:4 Fredericton:751400:72908:July 1, 1867:3 Winnipeg:1170300:647797:July 15, 1870:7 Victoria:4168123:944735:July 20, 1871:10 Charlottetown:137900:5660:July 1, 1873:2... (2 Replies)
Discussion started by: mindfreak
2 Replies

8. UNIX for Dummies Questions & Answers

How to use the the join command to join multiple files by a common column

Hi, I have 20 tab delimited text files that have a common column (column 1). The files are named GSM1.txt through GSM20.txt. Each file has 3 columns (2 other columns in addition to the first common column). I want to write a script to join the files by the first common column so that in the... (5 Replies)
Discussion started by: evelibertine
5 Replies

9. Shell Programming and Scripting

Join, merge, fill NULL the void columns of multiples files like sql "LEFT JOIN" by using awk

Hello, This post is already here but want to do this with another way Merge multiples files with multiples duplicates keys by filling "NULL" the void columns for anothers joinning files file1.csv: 1|abc 1|def 2|ghi 2|jkl 3|mno 3|pqr file2.csv: 1|123|jojo 1|NULL|bibi... (2 Replies)
Discussion started by: yjacknewton
2 Replies
SENDIP(1)								FSF								 SENDIP(1)

NAME
sendip - Send arbitrary IP packets SYNOPSIS
sendip [-v] [-d data] [-h] [-f datafile] [-p module] [module options] hostname OPTIONS
-d data add this data as a string to the end of the packet Data can be: rN to generate N random(ish) data bytes; 0x or 0X followed by hex digits; 0 followed by octal digits; any other stream of bytes -f datafile read packet data from file -h print this message -p module load the specified module (see below) -v be verbose Modules are loaded in the order the -p option appears. The headers from each module are put immediately inside the headers from the pre- vios model in the final packet. For example, to embed bgp inside tcp inside ipv4, do sendip -p ipv4 -p tcp -p bgp .... Modules available at compile time: ipv4 ipv6 icmp tcp udp bgp rip ntp Arguments for module ./bgp.so: -bm x BGP Marker field (format is <hex byte>:<hex byte>:...) Default: FF:FF:FF:FF:FF:FF:FF:FF:FF:FF:FF:FF:FF:FF:FF:FF -bl x Packet length Default: Correct -bt x Message Type (1 OPEN, 2 UPDATE, 3 NOTIFICATION, 4 KEEPALIVE Default: 4 (KEEPALIVE) -bo x Open message. Format is <version>:<AS number>:<Hold time>:<BGP Identifier>:<Options length> Default: 4:1:90:127.0.0.1:Correct (Any parameter can be omitted to get the default) -boo x Optional OPEN parameter. Format is <Type>:<Length>:<Value> - value is in hex bytes separated by :s Default: Length may be omitted to get correct value -bul x Withdrawn routes length Default: Correct -buw x Withdrawn route. Format is x.x.x.x/n:<bytes for prefix> Default: Bytes field may be omitted to use the correct number -bus x Attributes length Default: Correct -bua x Attribute. Format is <flags>:<type>:<length length (1 or 2):<length>:<data> Default: The length fields may be omitted to use the correct value -bun x NLRI Prefix. Format is as for -buw Default: As for -buw -bn x Notification. Format is <code>:<subcode>:<data> Default: Data may be omitted for no data Arguments for module ./icmp.so: -ct x ICMP message type Default: ICMP_ECHO (8), or ICMP6_ECHO_REQUEST (128) if embedded in an IPv6 packet -cd x ICMP code Default: 0 -cc x ICMP checksum Default: Correct Arguments for module ./ipv4.so: -is x Source IP address (see README) Default: 127.0.0.1 -id x Destination IP address Default: Correct -ih x IP header length (see README) Default: Correct -iv x IP version (you almost definately don't want to change this) Default: 4 -iy x IP type of service Default: 0 -il x Total IP packet length (see README) Default: Correct -ii x IP packet ID (see README) Default: Random -ifr x IP reservced flag (see README) Default: 0 (options are 0,1,r) -ifd x IP don't fragment flag (see README) Default: 0 (options are 0,1,r) -ifm x IP more fragments flag (see README) Default: 0 (options are 0,1,r) -if x IP fragment offset Default: 0 -it x IP time to live Default: 255 -ip x IP protcol Default: 0, or set by underlying protocol -ic x IP checksum (see README) Default: Correct -ionum x IP option as string of hex bytes (length is always correct) Default: (no options) -ioeol IP option: end of list -ionop IP option: no-op -iorr x IP option: record route. Format: pointer:addr1:addr2:... -iots x IP option: timestamp. Format: pointer:overflow:flag:(ip1:)ts1:(ip2:)ts2:... -iolsr x IP option: loose source route. Format: pointer:addr1:addr2:... -iosid x IP option: stream identifier -iossr x IP option: strict source route. Format: pointer:addr1:addr2:... Arguments for module ./ipv6.so: -6f x IPv6 flow ID Default: 32 -6t x IPv6 traffic class Default: 0 -6l x IPv6 payload length Default: Correct -6n x IPv6 next header Default: IPPROTO_NONE -6h x IPv6 hop limit Default: 32 -6v x IP version (you probably don't want to change this -6p x IPv6 priority Default: 0 -6s x IPv6 source address Default: ::1 -6d x IPv6 destination address Default: Correct Arguments for module ./rip.so: -rv x RIP version Default: 2 -rc x RIP command (1=request, 2=response, 3=traceon (obsolete), 4=traceoff (obsolete), 5=poll (undocumented), 6=poll entry (undocumented) Default: 1 -re x Add a RIP entry. Format is: Address family:route tag:address:subnet mask:next hop:metric Default: 2:0:0.0.0.0:255.255.255.0:0.0.0.0:16, any option my be left out to use the default -ra x RIP authenticat packet, argument is the password; do not use any other RIP options on this RIP header -rd RIP default request - get router's entire routing table; do not use any other RIP options on this RIP header Arguments for module ./ripng.so: -Rv x RIPng version Default: 1 -Rc x RIPng command (1=request, 2=response) Default: 1 -Rr x RIPng reserved field (should be 0) Default: 0 -Re x Add a RIPng entry. Format is: Address/route tag/address/len/metric Default: ::/0/128/1, any option my be left out to use the default -Rd RIPng default request - get router's entire routing table; do not use any other RIPng options on this RIPng header Arguments for module ./tcp.so: -ts x TCP source port Default: 0 -td x TCP destination port Default: 0 -tn x TCP sequence number Default: Random -ta x TCP ack number Default: 0 -tt x TCP data offset Default: Correct -tr x TCP header reserved field EXCLUDING ECN and CWR bits Default: 0 -tfe x TCP ECN bit (rfc2481) Default: 0 (options are 0,1,r) -tfc x TCP CWR bit (rfc2481) Default: 0 (options are 0,1,r) -tfu x TCP URG bit Default: 0, or 1 if -tu specified (options are 0,1,r) -tfa x TCP ACK bit Default: 0, or 1 if -ta specified (options are 0,1,r) -tfp x TCP PSH bit Default: 0 (options are 0,1,r) -tfr x TCP RST bit Default: 0 (options are 0,1,r) -tfs x TCP SYN bit Default: 1 (options are 0,1,r) -tff x TCP FIN bit Default: 0 (options are 0,1,r) -tw x TCP window size Default: 65535 -tc x TCP checksum Default: Correct -tu x TCP urgent pointer Default: 0 -tonum x TCP option as string of hex bytes (length is always correct) Default: (no options) -toeol TCP option: end of list -tonop TCP option: no op -tomss x TCP option: maximum segment size -towscale x TCP option: window scale (rfc1323) -tosackok TCP option: allow selective ack (rfc2018) -tosack x TCP option: selective ack (rfc2018), format is l_edge1:r_edge1,l_edge2:r_edge2... -tots x TCP option: timestamp (rfc1323), format is tsval:tsecr Arguments for module ./udp.so: -us x UDP source port Default: 0 -ud x UDP destination port Default: 0 -ul x UDP packet legnth Default: Correct -uc x UDP checksum Default: Correct sendip 2.5 June 2012 SENDIP(1)
All times are GMT -4. The time now is 06:34 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy