10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hello.
System : opensuse leap 42.3
I have a bash script that build a text file.
I would like the last command doing :
print_cmd -o page-left=43 -o page-right=22 -o page-top=28 -o page-bottom=43 -o font=LatinModernMono12:regular:9 some_file.txt
where :
print_cmd ::= some printing... (1 Reply)
Discussion started by: jcdole
1 Replies
2. Shell Programming and Scripting
I'm on Ubuntu 14.04 and I manually updated my coreutils so that "tee" is now on version 8.27
I was running a script using bash where there is some write to pipe error at some point causing the tee command to exit abruptly while the script continues to run. The newer version of tee seems to prevent... (2 Replies)
Discussion started by: stompadon
2 Replies
3. UNIX for Dummies Questions & Answers
How to use "mailx" command to do e-mail reading the input file containing email address, where column 1 has name and column 2 containing “To” e-mail address
and column 3 contains “cc” e-mail address to include with same email.
Sample input file, email.txt
Below is an sample code where... (2 Replies)
Discussion started by: asjaiswal
2 Replies
4. Shell Programming and Scripting
there are two directories A and B
if cmd in in "A/user/bin A/bin A/user/sbin" but not "B/user/bin B/bin B/user/sbin" directory print them (1 Reply)
Discussion started by: yanglei_fage
1 Replies
5. AIX
Hi,
I want to update managed system firmware using HMC.
The easiest way to me is to download firmware directly to HMC hard disk. Question:
Where shoud I put downloaded firmware in HMC hard disk ? - selection says "Hard disk" - no path no anything.
thanks
Vilius M. (0 Replies)
Discussion started by: vilius
0 Replies
6. Shell Programming and Scripting
Hi Guys,
I want to put or insert #!/bin/bash to my output file named outputfile.sh. Please need some help.
inputfile.txt
1111111111
2222222222
3333333333
script:
awk -f script.awk inputfile.txt > outputfile.sh
DESIRED OUTPUT: (1 Reply)
Discussion started by: pinpe
1 Replies
7. Shell Programming and Scripting
Hi,
I have line in input file as below:
3G_CENTRAL;INDONESIA_(M)_TELKOMSEL;SPECIAL_WORLD_GRP_7_FA_2_TELKOMSEL
My expected output for line in the file must be :
"1-Radon1-cMOC_deg"|"LDIndex"|"3G_CENTRAL|INDONESIA_(M)_TELKOMSEL"|LAST|"SPECIAL_WORLD_GRP_7_FA_2_TELKOMSEL"
Can someone... (7 Replies)
Discussion started by: shis100
7 Replies
8. UNIX for Dummies Questions & Answers
what if the difference between
#!/bin/sh
and
#!/bin/bash
I wrote a script with the second heading now when i change my heading to the first one ...the script is not executing well....im not getting the required output....any solution to this problem...or do i have to start the... (3 Replies)
Discussion started by: xerox
3 Replies
9. UNIX for Dummies Questions & Answers
I need to take a string (stringA) check it for spaces and replace any spaces found with an equal (=) sign.
This is not working. There are spaces between each component:
$StringA | tr "" ""
The error returned is:
test: Specify a parameter with this command
Can you help? (3 Replies)
Discussion started by: by_tg
3 Replies
10. UNIX for Dummies Questions & Answers
Hello,
I am new to the Unix/Linux world. This is a typical "for-dummies" question.
I was trying to setup Java JDK 1.3 on my Red Hat Linux and downloaded a file called "j2sdk-1_3_1_01-linux-i386.bin" on my usr/src directory. Then I do a "chmod a+x j2sdk-1_3_1_01-linux-i386.bin". Then I tried... (1 Reply)
Discussion started by: jaywang
1 Replies
ASTRIBANK_HEXLOAD(8) ASTRIBANK_HEXLOAD(8)
NAME
astribank_tool - Xorcom Astribank (xpp) firmware loader
SYNOPSIS
astribank_tool -D device-path -F [options] hexfile
astribank_tool -D device-path -p [options] hexfile1 .. hexfile4
astribank_tool -D device-path -O [-A] [options] imagefile
astribank_tool -D device-path -o [options]
astribank_tool -D device-path -E [options] hexfile
astribank_tool -h
DESCRIPTION
astribank_hexload is a second-stage firmware loader for Xorcom Astribanks. Note that some older models use fpga_load(8) instead.
It is used to load a file in the Intel HEX format into a Xorcom Astribank. It can be used to load either an FPGA firmware or a PIC
firmware. It is normally run by the script xpp_fxloader.
OPTIONS
-D device-path
Required. The device to read from/write to. This is bus_num/device_num, where bus_num and device_num are the first two numbers in
the output of lsusb(8) or dahdi_hardware(8). On older versions of this toolyou needed a complete path to the device, which would be
/dev/bus/usb/bus_num/device_num, or /proc/bus/usb/bus_num/device_num.
One of the following is required:
-F
The firmware to load is a FPGA firmware.
-p
The firmwares to load is are PIC firmwares. All (typically 4) should be on the command-line.
-O
The firmware to load is an Octasic echo canceller firmware image file.
-o
Don't load firmware. Just print the version number of the currently-loaded Octasic echo canceller firmware.
-E
The firmware to load is a special EEPROM burning one.
Other options:
-v
Increase verbosity. May be used multiple times.
-d mask
Set debug mask to mask. Default is 0, 0xFF is "everything".
-h
Displays usage message.
-A
When loading a Octasic echo canceller firmware, set the channels of the first Astribank module to use aLaw (G.711a). This is what
you'd normally use for BRI and E1. If not set, the default mu-Law (G.711u), which is what you'd normally use for FXS, FXO and T1.
SEE ALSO
fxload(8), lsusb(8), astribank_tool(8), fpga_load(8)
AUTHOR
This manual page was written by Tzafrir Cohen <tzafrir.cohen@xorcom.com> . Permission is granted to copy, distribute and/or modify this
document under the terms of the GNU General Public License, Version 2 any later version published by the Free Software Foundation.
On Debian systems, the complete text of the GNU General Public License can be found in /usr/share/common-licenses/GPL.
30 May 2011 ASTRIBANK_HEXLOAD(8)