how read specific line in a file and write it in a new text file?
I have list of files in a directory 'dir'. Each file is of type HTML. I need to read each file and get the string which starts with 'http' and write them in a new text file. How can i do this shell scripting?
Hi guys
I need to retrieve the values in BOLD that I have mentioned in the below log file. I want to store those values in a variable, preferably the same name as the column name in the log file. if you paste the below mentioned log file in a notepad and remove the word wrap.. u will get a... (4 Replies)
Hi I have a spaced filled file having records like below:
What I want is to read line having RT3 at position 17-19 then go to position 2651 check the 18 characters (might be space filled till 18 characters). This position should have a... (6 Replies)
Hi,
I wanted to add specific text to each row in a text file containing three rows. Example:
0 8 7 6 5 5
7 8 9 0 7 9
7 8 9 0 1 2
And I want to add a 21 at the beginning of the first row, and blank spaces at the beginning of the second two rows. To get this:
21 0 8 7 6 5 5
7 8... (4 Replies)
I am new to Unix so will really appreciate if someone can guide me on this.
What I want to do is:
Step1: Read binary file - pick first 2 bytes, convert from hex to decimal. Read the next 3 bytes as well.
2 bytes will specify the number of bytes 'n' that I want to read and write... (1 Reply)
Hi,
I want to read the file from nth line (where n is an integer) to until I encounter @ char.
Can any one please help me how to do this?
Thanks. (3 Replies)
dear all,
i need your advice
i have sample script like this:
testing.sh
for i in {1..10}
do
echo testing $i
done
but i forgot create "#!/bin/bash" in above "for"
so i want output will like this
testing.sh
#!/bin/bash
for i in {1..10}
do
echo testing $i
done (2 Replies)
Hi...friends....
I want to create inventory...information for that I need to read some specific row say 2nd row from 1st 3 column and and write data with particular file used, I have some more column also but I need only 3 column data of first entry after header
I attached sample file..those... (12 Replies)
Hi,
I have a ldif file like below:
version: 1
dn: cn=Test Group,ou=Applications,dc=xyz,dc=com
objectClass: groupOfUniqueNames
objectClass: top
cn: Test Group
uniqueMember: uid=abc,ou=People,o=xyz,o=Corporate,dc=xyz,dc=com
dn: cn=Test Sub Group,cn=Test... (4 Replies)
Hi
This is my first post and I'm just a beginner. So please be nice to me.
I have a couple of html files where a pattern beginning with "http://www.site.com" and ending with "/resource.dat" is present on every 241st line. How do I extract this to a new text file?
I have tried sed -n 241,241p... (13 Replies)
Hi,
I have a file(input.txt) and trying to format as output.txt. See the attached file format.
Note: This is a windows file (DOS format) and the commands are also going to execute on windows.
Basically I am trying to capture all the data in between Local Group Memberships and Global Group... (10 Replies)
Discussion started by: Monoj2014
10 Replies
LEARN ABOUT DEBIAN
eiskaltdcpp-daemon
eiskaltdcpp-daemon(1) General Commands Manual eiskaltdcpp-daemon(1)NAME
eiskaltdcpp-daemon - simple daemon controllable via XMLRPC or JSONRPC
SYNOPSIS
eiskaltdcpp-daemon -d
eiskaltdcpp-daemon <Key>
DESCRIPTION
EiskaltDC++ is a cross-platform program that uses the Direct Connect and ADC protocol. It is compatible with other DC clients, such as the
original DC from Neomodus, DC++ and derivatives. EiskaltDC++ also interoperates with all common DC hub software.
COMMAND LINE OPTIONS
A summary of options is included below.
-d,--daemon"
Run program as daemon
-v,--verbose"
Verbose mode
-D,--debug"
Debug mode
-P <port>,--port=<port>"
Set port for XMLRPC or JSONRPC (default: 3121)
-L <ip>,--ip=<ip>"
Set IP address for XMLRPC or JSONRPC (default: 127.0.0.1)
-p file,--pidfile=<file>"
Write daemon process ID to <file>
-c dir,--confdir=<dir>"
Store config in <dir>
-l <dir>,--localdir=<dir>"
Store local data (cache, temp files) in <dir> (defaults is equal confdir)
-S <file>,--rpclog=<file>"
Write xmlrpc log to <file> (default: /tmp/eiskaltdcpp-daemon.xmlrpc.log)
-U <uripath>,--uripath=<uripath>"
Set UriPath for xmlrpc abyss server to <uripath> (default: /eiskaltdcpp)
-h, --help
Display help and exit
-V, --version
Show version information and exit
FILES
~/.config/eiskaltdc++/ or $XDG_CONFIG_HOME/eiskaltdc++/
Directory with user configuration files
DOCUMENTATION
Detail documentation about available XMLRPC and JSONRPC methods can be found in our wiki:
http://code.google.com/p/eiskaltdc/wiki/XMLRPC
http://code.google.com/p/eiskaltdc/wiki/JSONRPC
AUTHOR
This program was written by EiskaltDC++ developers team (see file AUTHORS).
EiskaltDC++ homepage: http://code.google.com/p/eiskaltdc/
BUG REPORTS
If you find a bug in EiskaltDC++ please report it here: http://code.google.com/p/eiskaltdc/issues/list
This manual page was written by Boris Pek <tehnick-8@mail.ru> for the Debian project (and may be used by others).
19 Feb 2012 eiskaltdcpp-daemon(1)