hi,
i am using Sun Solaris 8 (Sparc). Currently there is a SNMP agent running on port 161.
How should I change it to port 8001?
which file to modify and restart is necessary?
pls teach me the information.
thanks (8 Replies)
Example:
O o x
What I would like to do is to rename the first column of the above file without affecting the format. The output should look like the following:
Output:
O o x
#! /bin/ksh
cd $HOME/lib/.Lee
#nl = no. of lines.
nl=`grep 'X' ex | wc -l`
#ln = line no.
ln=1 (17 Replies)
Hi,
How can i able to do a similar operation to "find" number of files in a folder in an awk?
In bash, we could do easily using "find" command. But currently, I am having an awk block and i wanted to extract these information.
Please advise. Thanks. (2 Replies)
Hi,
I have a data as follow:
1 400
2 239
3 871
4 219
5 543
6 ...
7 ...
.. ...
.. ...
99 818
100 991
I want to replace the sequence number (column 1) that start from 150. The output should like this:
150 400
151 239 (3 Replies)
Hi
I have awk script that is reading data from file and printing the result on the monitor....I need to read more than one file .....one by one... and store the result in output file...
---------- Post updated at 06:41 AM ---------- Previous update was at 06:39 AM ----------
please i need... (4 Replies)
I have a txt file as database. when i run my program what it does is it ask me for 3 name and stored in the file as
name1:name2:name3:1
when u enter 3 name it add those in file as above format and add 1 at the end. I what i want is if i enter same names again it changes that 1 to 2 and so... (3 Replies)
Hi,
Example File:
(jumped,
bumped,
)
how to
jumped,
FROM tree;
EXIT
I have some hundreads of files like this with the different words and I want to remove the comma before the bracket and also I have to remove the comma before FROM word.
I am trying to use this command :
awk '... (5 Replies)
Hi!
I just want to count number of files in a directory, and write to new text file, with number of files and their name
output should look like this,,
assume that below one is a new file created by script
Number of files in directory = 25
1. a.txt
2. abc.txt
3. asd.dat... (20 Replies)
I have a folder with several files of which I want to eliminate all of the terms that they have in common using `awk`.
Here is the script that I have been using:
awk '
FNR==1 {
if (seen++) {
firstPass = 0
outfile = FILENAME "_new"
... (4 Replies)
Discussion started by: owwow14
4 Replies
LEARN ABOUT SUSE
ebook-convert
EBOOK-CONVERT(1) calibre EBOOK-CONVERT(1)NAME
ebook-convert - part of calibre
SYNOPSIS
ebook-convert input_file output_file [options]
DESCRIPTION
Convert an ebook from one format to another.
input_file is the input and output_file is the output. Both must be specified as the first two arguments to the command.
The output ebook format is guessed from the file extension of output_file. output_file can also be of the special format .EXT where EXT is
the output file extension. In this case, the name of the output file is derived the name of the input file. Note that the filenames must
not start with a hyphen. Finally, if output_file has no extension, then it is treated as a directory and an "open ebook" (OEB) consisting
of HTML files is written to that directory. These files are the files that would normally have been passed to the output plugin.
After specifying the input and output file you can customize the conversion by specifying various options. The available options depend on
the input and output file types. To get help on them specify the input and output file and then use the -h option.
For full documentation of the conversion system see http://calibre-ebook.com/user_manual/conversion.html
Whenever you pass arguments to ebook-convert that have spaces in them, enclose the arguments in quotation marks.
OPTIONS --version
show program's version number and exit
-h, --help
show this help message and exit
SEE ALSO
The User Manual is available at http://calibre-ebook.com/user_manual
Created by Kovid Goyal <kovid@kovidgoyal.net>
ebook-convert (calibre 0.6.53) July 2010 EBOOK-CONVERT(1)