Search Results

Search: Posts Made By: type8code0
6,540
Posted By type8code0
works like a charm while read IP do echo...
works like a charm

while read IP
do echo "Test proxy $IP"
curl echoip.net --proxy "$IP"
done < proxy-list.txt
6,540
Posted By type8code0
Simple proxy tester
This is a simple script to verify a proxy

type8code0@core:~$ cat proxy-tester
echo -e "\nTest proxy 10.10.10.10:80"
curl echoip.net --proxy 10.10.10.10:80
echo -e "\n\nTest proxy...
1,490
Posted By type8code0
This is perfect. Thanks again. :b::b::b::D ...
This is perfect. Thanks again. :b::b::b::D

Quick question, how to stop this loop besides using combination of Ctrl + C?

type8code0@box:~/dbedit$ ./test
Enter new group name : XYZ
You...
1,490
Posted By type8code0
I've tested and both solutions work like a charm....
I've tested and both solutions work like a charm. Thanks a lot :b::o

Since file1 only contains single word, is it possible to use interactive way. I was thinking something like this.

Please let...
1,490
Posted By type8code0
This is definitely better than my initial draft...
This is definitely better than my initial draft code :b:
Is it possible to replace “TEST" with any variable?

E.g.
Please type your new service group name: GROUP-XYZ Final Output:...
1,490
Posted By type8code0
Read 2 input and produce it in single ouput?
Hi all.
I’ve 2 inputs here and would like to produce it in single ouput. I’ve drafted simple shell script but not sure how to put all this together. The final output should be “GROUP-XYZ” instead...
4,391
Posted By type8code0
Cool. I’ll just need to add the rest of CIDR to...
Cool. I’ll just need to add the rest of CIDR to Netmask conversion.
I’ll share the full bash script later once it’s complete.
I’ll take note on code vs quotes. Thanks again I really appreciate it....
9,651
Posted By type8code0
Awesome! Thanks Corona688 for the script. It's...
Awesome! Thanks Corona688 for the script. It's not what I'm looking for, but the script is good.
Here is my actual question, I've rephrased it and created separate topic for this.
...
4,391
Posted By type8code0
How to read file, and replace certain string with another string?
Hi all, the value in the following file is just an example. It could be a different value/network addresses.

Here is my example of initial output in a file name net.txt

Initial Output, net.txt...
8,522
Posted By type8code0
Wow!!! This is perfect man. Many thanks :)
Wow!!! This is perfect man. Many thanks :)
9,651
Posted By type8code0
How to change ip addressing format from CIDR notation to netmask and vice versa?
Hi all, I would appreciate if someone could share how to convert CIDR notation to netmask and vice versa.
The value below is just an example. it could be different numbers/ip addresses.
...
8,522
Posted By type8code0
Thanks guys for your prompt response. I really...
Thanks guys for your prompt response. I really appreciate it. I forgot to mention on my first post that value of host.txt is just an example. It could be different ip addresses depending on what kind...
8,522
Posted By type8code0
How to combine 2 bash script into 1?
Hi all, I’ve quick question on bash scripting.

Here is my initial input. This is just an example. The value could be different numbers/ip addresses.

host.txtFinal output should be like this.
...
1,310
Posted By type8code0
Thanks, it works like a charm. One more question....
Thanks, it works like a charm. One more question. How to save this output, let say into output.txt?

Nevermind, found the answer :)
1,310
Posted By type8code0
How to combine 2 texts file and create another file from it?
Hi all,

I've the following hostnames & ip addresses saved in host_ip.txt

Based on this list, I need to create the following script.

where by HH is a hostname
and XXXX is an ip address

So...
Forum: Solaris 05-27-2011
25,983
Posted By type8code0
Thanks Skrynesaver for the suggestion,...
Thanks Skrynesaver for the suggestion, unfortunately I can't install anything on the box as I don't have the right to do it
Forum: Solaris 05-27-2011
25,983
Posted By type8code0
Ping with timestamp
Hi,

Is there any way to use a ping utility in Solaris with timestamp is printed? I've found a few tools on windows where we can ping with timestamp, but I'm not sure with Solaris.
...
7,482
Posted By type8code0
Wow! It works! Many thanks to you :b: ...
Wow! It works! Many thanks to you :b:

SunOS{type8code0}: cat file
line 1
line 2
line 3
line 4
line 5
SunOS{type8code0}: head -2 file
line 1
line 2SunOS{type8code0}: tail -2 file
line 4...
7,482
Posted By type8code0
"tail -n 1 filename" error while "head -n 1 filename" is ok?
Hi all,

I was wondering why tail -n 2 filename produce an error when I manage to do similar command on head -n 2 filename

SunOS{type8code0}: tail -n 2 filename
usage: tail...
7,965
Posted By type8code0
Thanks LivinFree for the bash script. I’m new in...
Thanks LivinFree for the bash script. I’m new in a bash script, but I’ll try to learn this.
There are a few log files I need to check. All of them located in /logs folder and there are (from...
7,965
Posted By type8code0
How to find ip addresses in logfiles?
Hi guys,

I need to check a few log files as below to find out whether certain ip addresses is present on these log files.

type8code0: ls -alt
-rw-r--r-- 1 root other ...
Forum: Programming 10-21-2010
2,511
Posted By type8code0
Thanks shamrock for your prompt reply. You can...
Thanks shamrock for your prompt reply. You can find the challenge at the box below. The objective is to find the username & password. I've manage to find both username & password using strings...
Forum: Programming 10-21-2010
2,511
Posted By type8code0
GDB - how to find interesting information?
Hi all,

I was wondering how to find interesting information inside the assembly code. As example, I've been trying something at smashthestack wargame. After viewing the assembly code via...
4,891
Posted By type8code0
tcpdump with each line number?
Hi all,

First of all, thanks for providing the platform so all of us can learn and ask question if there is any doubt about unix/linux system.

This is my first time here and I would like to...
Showing results 1 to 24 of 24

 
All times are GMT -4. The time now is 04:00 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy