Skip to content

different ips in different terminal with torify

how can we get a different tor circuit with torify command in a separate terminal window? Specifically, if I type a command in a terminal 1 window I receive my IP address in response. but if I try it in another terminal window simultaneously I get the same IP which is a normal behavior. what I am trying to ac…

Read a file that’s constantly updated (C++)

Let me start with saying that I’m around 3 days old in C++. Ok to the main question, I have a file that spans multiple lines, and I’m trying to print one specific line repeatedly, which is subject to change arbitrarily by some other process. Example file : I’m trying to print the middle line…

extract substrings starting with same pattern in a file

I have a fileA.txt which contains strings: I would like to extract all the substring which start with RS Output: I tried something like this: However I only get the first string RS0247 printed out when I do echo Answer Given the three sample lines pasted above in the file f… Assuming a fixed format: Ass…