Reputation
3,434
Top tag
Next privilege 5,000 Rep.
Approve tag wiki edits
Badges
3 24 52
Impact
~447k people reached

Jan
12
comment How to get the summarized sizes of folders and their subfolders?
@Hennes: How do you cache file sizes in a shell script?
Oct
23
comment How do get good looking justified paragraphs?
Excellent trick, thanks! Now I need to figure out how make pandoc pass the tab to the Word document ;-)
Oct
8
comment How to get the summarized sizes of folders and their subfolders?
@podarok Which version of GNU coreutils? Mine is 8.24.
Oct
7
comment How to get the summarized sizes of folders and their subfolders?
@podarok It's available on OpenSUSE 13.2 Linux. Try to find a more recent version of your distribution or compile a more recent version of the package yourself.
Apr
9
comment ping can't resolve hostname, but nslookup can
This works at the cost of the AVAHI services
Dec
10
comment Is there a way to rsync in batches?
Generally, my approach is to run the indexing on the same computer (i.e. not transfer those files again to some remote service). In this case, I'd try to checkout the data on the server which runs Alfresco instead of the davfs mount.
Dec
10
comment Is there a way to rsync in batches?
I don't know much about davfs and how it responds to various operations but maybe you can try to checkout the subversion inside of the davfs mount. The problem here is that svn will do several read/write operations per file so this may be bad for large files (not probably not so bad if you have just many files). After the checkout/update, Alfresco should see some files with changes dates. If this change can trigger the reindex, then this should be very efficient.
Oct
20
comment How can I find out which user logged in as root?
Hm :-/ I'm wondering what the security implications are when we create dozens of user accounts on our many servers. Feels like one of the security dilemmas: Comfort vs. security. If I use .authorized_keys, I have a single file (with a very simple format) but I can't easily find out who connected. sshsudo looks interesting but I wonder how sshpass does its magic.
Oct
20
comment ping can't resolve hostname, but nslookup can
@MariusMatutiae: What was the error message?
Oct
16
comment How can I find out which user logged in as root?
Actually, I'd prefer a "this user can execute this command with root permissions" command/tool (so your actions would still be logged under your user). I don't want to become root, I just need its permissions. Kind of "you can do anything you want but whoami still returns digulla.
Oct
16
comment How can I find out which user logged in as root?
When I wrote this, sudo wasn't very common. Today, I'd say sudo is nice if you admin just a single machine and/or if you have to run just a single command. But in my case, 90% of the time, I need to do remote work. So I ssh and then I'd have to sudo. If you switch between local and remote all the time and you have to run many commands, I still prefer ssh (or one way to do everything).
Jul
28
comment ping can't resolve hostname, but nslookup can
@otakun85: Ah, I get it. I've accepted this answer instead.
Jul
28
comment ping can't resolve hostname, but nslookup can
@otakun85: And how would I do that?
Jul
7
comment Is it possible to find the CPU hogging tab in Firefox?
@LuísdeSousa: When you are logged in, you can see a "(vote)" link in the field "Importance:"
Feb
4
comment Chrome & Firefox keeps asking for proxy server authentication
Is the proxy using NTLM authentication?
Jan
29
comment ping can't resolve hostname, but nslookup can
@harrymc: Thanks, that works as well but I like the "fix the AVAHI config" approach better. Still, turn it into answer and I'll upvote it.
Jan
24
comment ping can't resolve hostname, but nslookup can
@harrymc: That is already the case. I only have dnsmasq-base installed.
Jan
24
comment ping can't resolve hostname, but nslookup can
@harrymc: I didn't install it. I just installed Kubuntu. I was surprised to find dnsmasq on my system and I know nothing about it. On my system, NetworkManager starts the process.
Jan
24
comment ping can't resolve hostname, but nslookup can
@Scott: Yes. Most sites work, only this one doesn't.
Jan
21
comment ping can't resolve hostname, but nslookup can
@DavidSchwartz: It's a local/internal name (ie. something that only our internal DNS server knows about). I could imaging that web browser use special DNS lookup code but how can the command line tools ping and nslookup disagree?