Search Results

Search: Posts Made By: networksherlock
5,168
Posted By networksherlock
Thanks to everyone for all the support .. I do...
Thanks to everyone for all the support .. I do not know which shell I use.

Operating system Kali Linux (Debian) 2.6

I did what I wanted. I made it on the quilt that "Scrutinizer" ...
5,168
Posted By networksherlock
thank you... its work... this output: 1 ...
thank you... its work...

this output:
1
6
8
Can I assign a variable? To use echo command in text?
5,168
Posted By networksherlock
My OS kalilinux.. my script is working on shell
My OS kalilinux.. my script is working on shell
5,168
Posted By networksherlock
thanks. but dont worked... `Bad substitution`...
thanks. but dont worked...
`Bad substitution` error...
5,168
Posted By networksherlock
Wow .. great .. thank you very much... How can...
Wow .. great .. thank you very much...
How can I assign these final results to the variable_

Octet: 1
1=A
9=B
2=C
Octet: 2
1=D
6=E
8=F

echo "exampletext $A examples text $B"
5,168
Posted By networksherlock
Thanks Corona688.. i make this IFS="."...
Thanks Corona688..

i make this

IFS="." read A B C D
echo $A
echo $B

in>192.168.1.1
output>
192
168


I already do that. I also want to separate the number 168

example>
1
6
8
5,168
Posted By networksherlock
example: read ip 192.168.1.1 ...
example:
read ip
192.168.1.1

oktet1=`echo $ip | cut -d \. -f 1`
oktet2=`echo $ip | cut -d \. -f 2`
oktet3=`echo $ip | cut -d \. -f 3`
oktet4=`echo $ip | cut -d \. -f 3`

echo $oktet1
echo...
5,168
Posted By networksherlock
i maked this. #!/usr/bin/env bash read...
i maked this.

#!/usr/bin/env bash

read ip

oktet1=`echo $ip | cut -d \. -f 1`
oktet2=`echo $ip | cut -d \. -f 2`
oktet3=`echo $ip | cut -d \. -f 3`
oktet4=`echo $ip | cut -d \. -f 3`
...
5,168
Posted By networksherlock
How can i split this.. :)?
hello, :)
How can i split this.. :)

10.25.10.2

two octet

a=2
b=5

Thank you...
Showing results 1 to 9 of 9

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