Hi all,
I wanted to replace one word with another word pl help me to solve the same.
example:-
I wanted to replace RXOTX with RXOTRX in a perticuler file with hole.
Regards,
Ramesh (2 Replies)
Hi I'm having difficulty in writing a script with searching a specified word using sed and replaces that word with numbers that is incremented
I tried this:
#!/bin/sh
awk '{ for (i=2010; i<=NF; i++) sed 's/TBA/$i; }' filename.txt > outputfile.txt
but it doesn't work. here is my desired... (1 Reply)
I have a File with the below contents
File1
I have no prior experience in unix. I have just started to work in unix.
My experience in unix is 0. My Total It exp is 3 yrs.
I need to replace the first word in each line with the last word for example
unix have no prior experience in... (2 Replies)
Dear Friends,
I am facing some problem with some hundred files. Hence to use these file I have to make a small change in each file. But its not possible to open each file and make changes manually. Hence I need guidance frm you to automate it.
Example File name is "Queue_11.txt"
reload sec=F... (6 Replies)
Dear all,
I am new to unix and i have some problem over here
Is there any way to replace few words in a text file using sed command?
Let say i want to replace "I into He" "love into hate" and "you into her"
I was trying this out but it does not seems to work
sed { 's/I/He/g' ;... (3 Replies)
Hello All,
I am extracting a part of file. the file looks as follows
USING CHARACTER SET UTF8 DEFINE JOB
(
DEFINE SCHEMA Flat_File_Schema
(
cntnt_id VARCHAR(10)
);
DEFINE OPERATOR o_mload
TYPE update
SCHEMA *
ATTRIBUTES
(
VARCHAR TdpId = @TdpId (5 Replies)
I have an assignment and I am not sure what to do.
In Unix, I use PuTTY
change the semicolon (;) to a period, and capitalize the first letter of the word immediately after it.
I know change command is M-% and "." so only one semicolon is changed but I am not sure how to... (1 Reply)
Hi Folks,
Could you please advise what will be the SED command to replace a word in all xml's under a particular directory
for example let say I rite now at the following below location
$ cd /ter/rap/config
now under config directory there will be lots of xml file , now my objective is to... (1 Reply)
Dear ALL,
I have sample file :
IDcentos-forum,bash,linuxCentOS,GNome
IEfedora-milis,cli,linuxRedhat,KDE
IRfreebsd-milis,aix,unixbsd,pyton
required output:
centos,bash,linuxCentOS,GNome
fedora,cli,linuxRedhat,KDE
freebsd,aix,unixbsd,pyton
Can you help me pls.. (1 Reply)
Discussion started by: gnulyn
1 Replies
LEARN ABOUT X11R4
tor-resolve
TOR-RESOLVE(1) Tor Manual TOR-RESOLVE(1)NAME
tor-resolve - resolve a hostname to an IP address via tor
SYNOPSIS
tor-resolve [-4|-5] [-v] [-x] hostname [sockshost[:socksport]]
DESCRIPTION
tor-resolve is a simple script to connect to a SOCKS proxy that knows about the SOCKS RESOLVE command, hand it a hostname, and return an IP
address.
By default, tor-resolve uses the Tor server running on 127.0.0.1 on SOCKS port 9050. If this isn't what you want, you should specify an
explicit sockshost and/or socksport on the command line.
OPTIONS -v
Display verbose output.
-x
Perform a reverse lookup: get the PTR record for an IPv4 address.
-5
Use the SOCKS5 protocol. (Default)
-4
Use the SOCKS4a protocol rather than the default SOCKS5 protocol. Doesn't support reverse DNS.
SEE ALSO tor(1), torify(1).
See doc/socks-extensions.txt in the Tor package for protocol details.
AUTHORS
Roger Dingledine <arma@mit.edu>, Nick Mathewson <nickm@alum.mit.edu>.
AUTHOR
Peter Palfrader
Author.
Tor 09/26/2014 TOR-RESOLVE(1)