16,883 reputation
22949
bio website
location Chicago, IL
age
visits member for 5 years, 4 months
seen 11 hours ago

I've hit both 1337 and 6502 on superuser, yay


Dec
19
comment Command “find” -exec replacing string
does mogrify have a -o flag for output location? would simplify code a bit. also, what OS are you using? more specifically, what shell? With find, can we assume a Linux shell?
Dec
19
comment How to open a file in binary format.(1's & 0's)
I agree with this. Find something that deals with mostly Hex, binary for the few places where it makes a difference. You only want to deal with a few binary bytes, not a whole file.
Dec
10
comment Are there any tricks with Xfinity WiFi Authentication
@Ramhound I tried a call in, they didn't really know much. They don't train their techs much
Oct
28
comment Display the PID with bash scripting
@ReinhardtRatkasvanRooyen is this on a Mac? My assumption was Linux, therefore gawk.
Oct
27
comment Cannot find downloaded file after SFTP “get” command
Additionally, you can usually use ! in your ftp/sftp client to escape to the shell. !pwd and/or !ls would be particularly useful here.
Oct
26
comment Using the mv command with multiple wild cards
As @AFH said, isn't clear what you want. What's multiple wildcards? It may help to remember that mv never sees wildcards, the shell interprets them. What's the command line you want mv to see? Also, check up on extglob, it may help you. Here's a decent explanation of various globbing tools in bash. Wouldn't mv .../American\ Horror* ..../destdir do what you want?
Oct
22
comment Why does a router need to know the modem's static IP address?
My thoughts exactly. In fact you want this. If you have a static IP you don't want to futz around with a double NAT (one from router, one from modem)
Oct
13
comment Will Linux work correctly with full root partition?
@LuboSach there are user processes the write to /tmp and /var in normal processing. if /tmp is full, a lot of those normal processes don't run correctly, and your system suffers. You can't see this because mail is in /var and your warning "hey the system is hosed" emails don't happen :)
Oct
13
comment Apache Trying to Bind to 0.0.0.0:443
yep. Check to see if that is Included (either directly, or in a glob, you can do Include /dir/*.conf) in your current config.
Oct
13
comment Will Linux work correctly with full root partition?
I agree with @Hennes, is /tmp or /var on root? if so, you're in a lot of trouble. If not, you'll probably be fine.
Oct
13
comment Apache Trying to Bind to 0.0.0.0:443
443 is the https port, are you sure that you don't have any SSL config included? Apache installs tend to have a modular configuration - check to see if you Include something that has SSL.
Sep
13
comment Delete a file on mouse click(single or double)
OS? This is highly OS/GUI shell dependent. Also what tool would accept the password and try a decrypt? What would it do when password is good? Would first fail delete the file? Better hope you check caps lock then. I think any wedge in file handling would remove security than you are getting from this
Sep
10
comment Before Operating systems, What concept was used to make them work?
wouldn't the earliest ones, say ENIAC, hard wired? Not switched nor having stored programs? Or is this no longer a computer because of that... curious
Sep
10
comment Has there ever been software that has been perfect first time round?
@TreyTaylor ... and the world around you never changed, and your OS stayed the same version, and people never asked for the feature that your competitor just came out with. And a UI was perfect for people with vastly different mental models, and you magically did Internationalization somehow... Engineering is compromises. One resource constraint is time. What do I have time for in version 1? What can wait to 1.1? If you don't get the nature of constraints, you'll not be a good engineer :)
Sep
10
comment Has there ever been software that has been perfect first time round?
This is probably too Meta of a question. Perfect as judged by whom? Free of bugs? Is a design defect a bug? Is a missing feature a bug? Is a bug in a feature that only .0001% of us use still disqualifying? Software is too complex to divide in solely two bins - perfect, and everything else.
Aug
21
comment Avoiding users to corrupt and use a script
What OS? It really depends on OS whether you can have run-only scripts
Aug
20
comment less maximum buffer size?
Technically less isn't sending the signal, the kernel is once it sees that the only reader to the pipe (less) is no more.
Aug
19
comment How does Googles “Auto Awesome” choose images?
Maybe better suited for webapps.stackexchange.com?
Aug
1
comment How to use “date” to print tomorrow's day of the week
@jim BTW: +1 for AIX... I was stuck using it years ago. Also, since this is Linux, you can rely on the -delete operator for (GNU) find. You can replace the | xargs rm {} \; with -delete and not be stuck with quoting rules or -no-run-if-empty.
Aug
1
comment How to use “date” to print tomorrow's day of the week
IMHO this is a bad idea to have the name-of-week. what if you have two weeks of logs? what if you restart during the day. At best both scenarios above would be confusing, at worst you'd (possibly) overwrite the existing file.