09-06-2006
echo "MaxChannels=600
MaxActiveChannels=600
MaxInitiators=22" >> file_name
Just give your file name after redirection operator.
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi guys,
Please help me if u have some solution.
I have a file with three columns separated by ':' -
INPUT_FILE
C416722_2 : calin Dirigent : Dirigent
AC4174_6 : Jac : cal_co
TC4260_5 : [no : lin kite
BC426302_1 : [no : calin Dirigent lin
JC426540_3 : lin Pymo_bin : calin
TC428_3 : no7... (4 Replies)
Discussion started by: sam_2921
4 Replies
2. Shell Programming and Scripting
Hi ,
I need some inputs on how to open a file (file.txt) and parse the text example aaa of the file and bbb of the file and add the text zzzz once i parse (aaa and bbb) and followed by the remaining of the text as it is in the file using perl programming.
Thanks in advance (3 Replies)
Discussion started by: madhul2002
3 Replies
3. UNIX for Dummies Questions & Answers
i have a file called motors with 3 columns separated with tabs eg:
car make reg
i want to create a executable file that will add a line with data eg:
car make reg
benz s600 t35778
can you please show me how to do this? (7 Replies)
Discussion started by: fletcher
7 Replies
4. Solaris
Pre: no gpasswd/adduser
there is just usermod can be used, also there is no -a option for usermod.
How should I add a user into a group? (4 Replies)
Discussion started by: a2156z
4 Replies
5. Shell Programming and Scripting
hey guys,
I tried searching but most 'search and replace' questions are related to one liners.
Say I have a file to be replaced that has the following:
$ cat testing.txt
TESTING
AAA
BBB
CCC
DDD
EEE
FFF
GGG
HHH
ENDTESTING
This is the input file: (3 Replies)
Discussion started by: DeuceLee
3 Replies
6. Ubuntu
Hi All
I need to add a column on my existing data file. I know similar posts are there but none of them were meeting my requirement. My input is
1.20 3.44 4.88
5.11 4.99 3.22
1.89 3.89 2.90
Desired output
1 1.20 3.44 4.88
2 5.11 4.99 3.22
3 1.89 3.89 2.90
I will... (2 Replies)
Discussion started by: mahbub03
2 Replies
7. Shell Programming and Scripting
Input File 1
cat S1.txt
MI0043 2731 miR-1
Input File 2
cat S4.txt
MI006 310 CiR-1
MI057 10 CiR-24
MI750 5 CiR-24
Desired Output File 1
cat S1.txt.out
MI0043 2731 miR-1 S1.txt
Desired Output File 2
cat S4.txt.out
MI006 310 CiR-1 S4.txt (3 Replies)
Discussion started by: perl_beginner
3 Replies
8. Shell Programming and Scripting
GM,
I have an issue at work, which requires a simple solution. But, after multiple attempts, I have not been able to hit on the code needed.
I am assuming that sed, awk or even perl could do what I need.
I have an application that adds extra blank page feeds, for multiple reports, when... (7 Replies)
Discussion started by: jxfish2
7 Replies
9. Shell Programming and Scripting
Hello,
I have a .xlsx file with 11 worksheets and I need to insert the contents of a text file (tab delim, roughly 30 columns with 1000 rows) from Row 3 onwards on the 2nd sheet. I have my code which can insert values into existing sheet but I am unable to write/import the contents of a text... (0 Replies)
Discussion started by: nans
0 Replies
10. Shell Programming and Scripting
Hello,
I have a .xlsx file with 11 worksheets and I need to insert the contents of a text file (tab delim, roughly 30 columns with 1000 rows) from Row 3 onwards on the 2nd sheet. I have my code which can insert values into existing sheet but I am unable to write/import the contents of a text... (1 Reply)
Discussion started by: nans
1 Replies
LEARN ABOUT REDHAT
pbm2ppa
pnm2ppa(5 Feb 2000) pnm2ppa(5 Feb 2000)
NAME
pbm2ppa - convert portable bitmap (PBM) to HP's Printing Performance Architecture (PPA) file format
SYNOPSIS
pbm2ppa [options] [ <infile] > [ <outfile]> ] ]
DESCRIPTION
Reads portable bitmap (PBM) format as input. Outputs a stream suitable for processing by Hewlett-Packard's range of Printing Performance
Architecture (PPA) printers. pnm2ppa supports the HP 710c, 712c, 720c, 722c, 820c, and 1000c series printers.
(Portable bitmap (PBM) format output can be produced from PostScript(tm) input by the GhostScript driver "pbmraw".)
OPTIONS
infile Input file infile is either a path to a file or device, or '-' to indicate stdin (defaults to stdin)
outfile
Output file outfile is either a path to a file or device, or '-' to indicate stdout (defaults to stdout)
-b bottommargin
Sets the bottom margin bottommargin in units of 1/600 inches (e.g., -b 150 = 0.25")
-d Displays the current configuration
-f configfile
Overrides reading the configuration from /etc/pnm2ppa.conf, and uses configfile instead.
-h Displays program usage
-l leftmargin
Sets the left margin leftmargin in units of 1/600 inches (e.g., -l 150 = 0.25")
-r rightmargin
Sets the right margin rightmargin in units of 1/600 inches (e.g., -r 150 = 0.25")
-s papersize
Sets the paper size. Possible values for papersize are a4 (A4), letter or us (US Letter, 8.5"x11"), and legal (US Legal, 8.5"x14").
The default is US Letter.
-t topmargin
Sets the top margin topmargin in units of 1/600 inches (ie -t 150 = 0.25")
-v printertype
Selects the printer model. Possible values of printertype are: 710, 712, 720, 722, 820 and 1000. The default is the HP DeskJet 7X0
Series (710, 712, 720, 722).
-x xoffset
Sets the x-offset xoffset from the left of the page. Units are 1/600 inches
-y yoffset
Sets the y-offset yoffset from the top of the page. Units are 1/600 inches
NOTES
The configuration file is read in first. Command line arguments then modify the resulting definitions.
The -x and -y options accumulate. The -v option resets all definitions back to an inbuilt default for that printer and should be used
before subsequent -b -l -r, -t, -x, and -y arguments.
SEE ALSO
pbm(5)
FILES
/etc/pbm2ppa.conf
Default configuration file
AUTHOR
This code is licensed under the GNU Public License version 2. See LICENSE for details.
(c) 1998 Tim Norman
HISTORY
This program was written by Tim Norman. It originally supported black and white output on the 820 series. This program is almost obsolete;
its successor pnm2ppa will support color printing.
BUGS
This is a stable driver, but does not support color printing.
pnm2ppa(5 Feb 2000)