Reputation
1,147
Top tag
Next privilege 2,000 Rep.
Edit questions and answers
Badges
3 15
Newest
 Good Answer
Impact
~117k people reached

May
18
accepted sed - print and branch
May
18
comment sed - print and branch
thanks, after seeing your answer and then reading through the sed documentation again, this is now obvious! can't believe I didn't think of it before :P
May
18
comment sed - print and branch
thanks, the quick edits made it a bit tricky to write accurate comments :) in any case sed -n '/PostScript/p; //b; /text/!p' is what has been working for me.
May
18
comment sed - print and branch
sed -n '/PostScript/p;b; /text/!p' doesn't work for me with GNU sed version 4.1.5. This expression only prints lines that contain the pattern PostScript (presumably because it unconditionally branches to the end of the expression after running /PostScript/p).
May
18
asked sed - print and branch
May
14
revised Compiling Python 3.4.3 error
fixed code formatting
May
14
suggested approved edit on Compiling Python 3.4.3 error
May
1
comment udev rule for usb attach/detach not triggering
I think I did, but to be honest, it's been a couple years and I don't really remember well. This was just a little toy that I was working on, and I don't have the box around any more.
Apr
21
comment Shall I save my crontab file in /tmp?
ok, well, poke around. check your man page for your cron implementation or documentation for your distro. i don't have magic answers for you; this kind of thing is not universal.
Apr
20
comment Shall I save my crontab file in /tmp?
crontabs are per user. to verify that your cronjob runs, you can check the cron logs. typically in /var/log/cron.log, but it could be other locations as well.
Apr
20
revised Shall I save my crontab file in /tmp?
added 78 characters in body
Apr
20
comment Shall I save my crontab file in /tmp?
if you log out, nothing will happen to your crontab. it doesn't live in /tmp.
Apr
20
comment Shall I save my crontab file in /tmp?
your actual crontab lives somewhere in /var/spool (typically), but you should never touch your actual crontab and you should never need to, either - use crontab -e instead. You probably don't have the right access level to edit the raw crontab file anyway.
Apr
20
answered Shall I save my crontab file in /tmp?
Apr
15
comment Create symlink tree in existing directories
any insight into why it's necessary to specify workdir in more recent kernels? the kernel docs only say The "workdir" needs to be an empty directory on the same filesystem as upperdir. there's no mention of what workdir is for or why it's necessary to provide it.
Apr
10
reviewed Reviewed Setting up VGA Passthrough on Ubuntu with KVM : error no iommu_group for device qemu-system-x86_64
Mar
25
awarded  Good Answer
Mar
19
awarded  Yearling
Mar
9
awarded  Popular Question
Feb
9
reviewed No Action Needed How to open the SSH port 22?