Search Results

Search: Posts Made By: scottish_jason
Forum: Linux 11-18-2012
2,887
Posted By scottish_jason
Sorry for being vague, I would like no duplicate...
Sorry for being vague, I would like no duplicate "names" and "values" to be inserted at all,

for example this first globalprefs name and value should be entered as it is not already in the array...
Forum: Linux 11-17-2012
2,887
Posted By scottish_jason
thanks very much for the reply once again, but it...
thanks very much for the reply once again, but it seems the last code u gave is for reading from a file, and also there seems to be duplicate names in the list?
Forum: Linux 11-17-2012
2,887
Posted By scottish_jason
I get this error on the command you specified ...
I get this error on the command you specified

line 21: =name[1]=: command not found

---------- Post updated at 11:48 AM ---------- Previous update was at 11:42 AM ----------

actually never...
Forum: Linux 11-17-2012
2,887
Posted By scottish_jason
what if i want to do this from a variable holding...
what if i want to do this from a variable holding that information rather than a file
Forum: Linux 11-17-2012
2,887
Posted By scottish_jason
Parse ; deliminated variable to create variables
Hi there, would appreciate some help on this parsing problem if anybody can help

im trying to parse a variable with the following output, each of the values im trying to parse are deliminated by a...
Forum: Linux 11-12-2012
5,956
Posted By scottish_jason
this does not give me any output on $ngrep_out...
this does not give me any output on $ngrep_out for some reason

edit: sorry got it, I had to change the " to ' on the first line

thanks alot

---------- Post updated at 05:37 PM ----------...
Forum: Linux 11-12-2012
5,956
Posted By scottish_jason
cuser=$(ngrep -s 1000 -l -q -d eth1 "Cookie:" tcp...
cuser=$(ngrep -s 1000 -l -q -d eth1 "Cookie:" tcp and port 80 | grep -m 1 -Po '(?<=c_user=)[^;]+')
xs=$(ngrep -s 1000 -l -q -d eth1 "Cookie:" tcp and port 80 | grep -m 1 -Po '(?<=xs=)[^;]+')the...
Forum: Linux 11-12-2012
5,956
Posted By scottish_jason
sure, the packets can of course vary... but it is...
sure, the packets can of course vary... but it is typically like T 192.168.0.2:56062 -> 31.13.72.20:80 [AP] GET...
Forum: Linux 11-12-2012
5,956
Posted By scottish_jason
Creating 2 variables from a multiple pattern grep
first time poster here

Im pretty new to grep and linux in general and I spent pretty much all day yesterday researching and coming up with a grep command to help with my university project. I am...
Showing results 1 to 9 of 9

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