Closed. This question is not about programming or software development. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed yesterday.
Improve this question
trying to interpret a toy a/b test problem but i'm a bit stuck. in this scenario, i am splitting traffic on a page which includes some design change elements. bounce rate is down, and there is higher traffic on the next step of the conversion funnel, which is a shop page. after that though, ATC and conversion rate are down significantly, both from the top of the funnel and from the shop page, even though there were no changes made to the shop page itself. here is the data
| Traffic | Bounce Rate | Shop Page | ATC | Conversions |
| 456287 | 65.86% | 179659 | 3674 | 2962 |
| 454288 | 58.74% | 211350 | 3090 | 2663. |
any immediate ideas why this could be? i feel like i'm missing something in the data itself and not the design.
Related
Closed. This question is not about programming or software development. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 6 days ago.
This post was edited and submitted for review 6 days ago.
Improve this question
In a grep that i use to find some values in a log, i'm using
-exec grep -cHF "55=36" {} \; | grep -v ":0"
To show me values that are different to zero, so i get this output:
opt/route/file_1.log:7
I want to know how i can set a range of numbers to show me, for example if the grep finds only 7 matches no to show me anything but if it is more than 50 ( > 50), to show me the output.
I was told that maybe something like this could work?
grep -v ':[0-7]$' but it doesn't seem to work for me
Like this:
<INPUT> | tail -n+7
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed last year.
Improve this question
“With clarity and definition is associated *"id"='o123-3923-d2i71-0129p' ,a certain physical spareness. Most of the "id"='s0987-3923-d2i71-0129p' great deciduous trees of England give one the impression, at any rate in summer, of being rather o "id"='p4523-3923-d2i71-0129p' ,bese. In Scandinavian mythology Embla, the elm, was the first woman. Those who have lived "id"='o123-3923-d2i71-0129p' ,much with old elm trees—and I spent a good part of my boyhood under their ponderous shade—will "id"='m0962-3923-d2i71-0129p' ,agree that the Scandinavians were men of insight. There is in effect something blowsily female about those vast trees that brood with all their bulging masses of foliage above the meadows of "id"='o123-3923-d2i71-0129p' ,the home counties.
Here I want to get only id. Output:
"id"='o123-3923-d2i71-0129p' "id"='s0987-3923-d2i71-0129p' "id"='p4523-3923-d2i71-0129p' "id"='o123-3923-d2i71-0129p'"id"='m0962-3923-d2i71-0129p'"id"='o123-3923-d2i71-0129p'
Try this:
#! /bin/bash
exec <<EOF
“With clarity and definition is associated *"id"='o123-3923-d2i71-0129p' ,a certain physical spareness. Most of the "id"='s0987-3923-d2i71-0129p' great deciduous trees of England give one the impression, at any rate in summer, of being rather o "id"='p4523-3923-d2i71-0129p' ,bese. In Scandinavian mythology Embla, the elm, was the first woman. Those who have lived "id"='o123-3923-d2i71-0129p' ,much with old elm trees—and I spent a good part of my boyhood under their ponderous shade—will "id"='m0962-3923-d2i71-0129p' ,agree that the Scandinavians were men of insight. There is in effect something blowsily female about those vast trees that brood with all their bulging masses of foliage above the meadows of "id"='o123-3923-d2i71-0129p' ,the home counties.
EOF
grep -oP '"id"='\''\w{4,5}-\w{4}-\w{5}-\w{5}'\'
Btw: Lorem ipsum is a good way to generate random text data, which gets easily understood by everyone. There are many online generators available.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 4 years ago.
Improve this question
how does the pipeline work in the below?
last | reboot
The above rebooted the linux machine.
last search the last logged in user and last output is given to reboot and reboot will reboot the system.
last | reboot
| | => process1 output will be input
process1 process2 for process2
See the man 1 last it says
Last searches back through the file /var/log/wtmp (or the file
desig‐
nated by the -f flag) and displays a list of all users logged in (and
out) since that file was created.
As Daniel says importantly, reboot doesn't care about its input. It probably doesn't read it at all, so piping something in doesn't change its behavior.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 5 years ago.
Improve this question
I need to create a tool that once launched at some directory should print the HDD serial number that the directory exists in.
Is there any way on Linux (e.g. Ubuntu 16.10) to get the HDD SN by path /dev/... ?
I've tried various tools (lsblk, hdparam, ...) but haven't succeeded.
You could use df . to get a device name on which your folder is located.
Then using a name of your device (will be something like /dev/sda2) you could run this command:
udevadm info --query=all --name=NAME_OF_DEVICE_FROM_FIRST_COMMAND | grep ID_SERIAL
The command in 1 line:
df . | tail -1 | awk {'print $1'} | (read name; udevadm info --query=all --name=$name) | grep ID_SERIAL
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 8 years ago.
Improve this question
I have used following command to fetch the CPU utilization of a process. It is giving result, but it is not coming out. I have used following command.
top | grep <processname>
I just want to put this in a loop and I will insert sleep in the code so that I can fetch the value in regular intervals
Use top's batch mode, eg.
top -b -n1 | grep processname
You can do:
while [ 1 ]; do top -n 1 | grep something; sleep 1; done
Use the -n option of top:
-n
Number of iterations. Update the display this number of times and then exit.