the redirection would be for the entire run of 'parallel' (which i have no experience with). you'd be better off creating a small shell script to run, or possibly something like
I'm using sed for Windows at a WinNT command prompt. Wrapping the expressions with single quotes doesn't work. I have to use double quotes. Is this the norm for the Windows implementation? (2 Replies)
Hi All,
could any expert tell me about writing a parallel processing program using AWK program is possible or not? Any example would be much appreciated...
With Regards / Mysore Ganapati :confused: (5 Replies)
Hello,
I'm working on unix with grep (GNU grep) 2.5.1. I'm going through some of the newer regex syntax using Regular Expression Reference - Advanced Syntax a guide.
ls -aLl /bin | grep "\(x\)"
Which works, just highlights 'x' where ever, when ever.
I'm trying to to get (?:) to work but... (4 Replies)
i'm trying to write a bash script that executes a mysql statement
mysql -sN -e INSERT INTO "$database"."$tableprefix"users (var1, var2,var3) VALUES (123, '1','')
i don't know where to put the quotes
it doesnt work with this one: `
it seems i can only put double quotes around the... (0 Replies)
I want to execute awk command without quotes.
who am i | awk {'print $2'}
above code should be something like:
who am i | awk {print $2}
Why such weird requirement?
Im assigning command to a variable, hence i need to escape the quotes.
e.g:
x='who am i | awk {\'print $2\'}'
I want... (11 Replies)
Original script written on CentOS 6.3 with GNU bash 4.1.2
Destination system is Solaris 9 with GNU bash 2.05 (not changeable by me)
I have a script written on the linux side but now we need to provide a version to another site that "doesn't like linux". I've been going through changing the ] or... (13 Replies)
Hi All,
I have input data like follows:
"1234"|"ABC"
"1234"|"CBA"
"1222"|"ZZZ"
I am trying to awk print all records where Col1 = "1234".
Below is the code I have so far:
Var1=1
Var2=1234
awk -F "|" "$ ${Var1} == "\"${Var2}\"" { print; }' inputfile
However when the AWK... (2 Replies)
Hello, i had a problem running a script , and after investigation found its all to do with the quotes:
cat file1
line1
val1
val2
line2
val1
val2
line3
val1
val2
awk 'BEGIN {RS="\n\n"; FS="\n";} {print $1 $2}' file1
This gives me the wrong output: (5 Replies)
Hello,
I have a 4 core machine.
Here is my initial script
cd /work/
python script.py input.txt output.txt 1 2 3
This script runs for 1.5hrs.
So I read across the web and figured out that you can use GNU parallel to submit multiple jobs using parallel. But I am not sure if I can run... (4 Replies)
Discussion started by: jacobs.smith
4 Replies
LEARN ABOUT DEBIAN
axparms
AXPARMS(8) Linux System Managers Manual AXPARMS(8)NAME
axparms - Configure AX.25 interfaces.
SYNOPSIS
axparms --assoc|--forward|--route|--setcall|--version ...
DESCRIPTION
The axparms command is designed to be a multi-function command that allows miscellaneous commands to be issued to the Linux AX.25 protocol
layer. It includes the functionality of axassociate and axsetcall which this command superceedes. The different modes of the command are
chosen by the first argument. Sunsequent arguments depend upon this argument and so no generalised command format can be given.
--assoc Argument
The format of this option is:
axparms --assoc <callsign> <username>
axparms --assoc <callsign> delete
axparms --assoc policy [default|deny]
axparms --assoc show
This option mainpulates the kernel uid/callsign mapping table, allowing callsigns to be associated and dis-associated with a user. The pol-
icy option permits the superuser to have all other uid's either default to the actual port name, or to block traffic.
At power up the table is blank and the policy is 'default', which is thus backward compatible.
--forward Argument
Allows the use of many receivers with one transmitter, known as packet forwarding in many systems. The format of this command is:
axparms --forward <portfrom> <portto>
axparms --forward <portfrom> delete
Any packets to be transmitted on port portfrom will be transmitted on port portto. This will stay in force until the second form of the
command is issued which will remove the association.
--route Argument
This option allows the internal AX.25 routing table to be manipulated. This table is available for reading in /proc/net/ax25_route, and
will be built up dynamically by stations heard. However it is possible to add, delete and list entries via this option.
The formats of this option are:
axparms --route add <port> <callsign> [<digis>] [--ipmode V|D]
axparms --route del <port> <callsign>
axparms --route list
Routes added via this command will not be removed from the internal routing table when they are "old" as normal entries are. The --ipmode
option sets mode vc or mode datagram for this destination.
If the <callsign> argument is set to "default" then this will set the default route for all outgoing AX.25 connections which will be used
when there is no specific route to the required destination.
--setcall Argument
The format of this option is:
axparms --setcall <interface> <callsign>
This changes the callsign associated at the given physical ax25 interface.
Cave: The interface name is not the symbolic port name from axports, but the real interface name (from ifconfig(8)): ax0, ax1, .., sp0, ..,
bpq0, ... etc..
The change is permanent as long as the interface exists, or another "axparms --setcall" is issued.
The interface has to exist already in order to use this option; it may be in state UP or DOWN.
--version Argument
This option displays the version of the AX.25 utilities that axparms belongs to.
FILES
/proc/net/ax25_bpqether
/proc/net/ax25_calls
/etc/ax25/axports
SEE ALSO call(1), getsockopt(2), setsockopt(2), ax25(4), axctl(8), axports(5).
AUTHORS
Alan Cox GW4PTS <alan@cymru.net>
Jonathan Naylor G4KLX <g4klx@g4klx.demon.co.uk>
Joerg Reuter DL1BKE <jreuter@poboxes.com>
Linux 25 July 1997 AXPARMS(8)