Reputation
6,155
Top tag
Next privilege 10,000 Rep.
Access moderator tools
Badges
1 8 33
Newest
 Revival
Impact
~156k people reached

Apr
3
comment How to set apache Document root on ntfs partition?
Does the file /media/data/Projects/www/html/test.php exist with the right permissions?
Apr
1
comment How to set apache Document root on ntfs partition?
What can you find in apache's error log when the error occurs?
Apr
1
comment How to set apache Document root on ntfs partition?
Yes, that's what I meant. Thanks for the info.
Apr
1
comment How to set apache Document root on ntfs partition?
Can you execute other programs if you try running them directly?
Mar
18
comment Is there any dynamically produced .log file showing up the memory usage on FreeBSD?
I'm voting to move this to Unix/Linux. There are some people over there who are scarily smart and competent when it comes to various unix behaviours.
Feb
15
comment Pressed the big red cross in Winscp by accident
I don't know winscp well enough to answer the questions, but I strongly advise you to not shut down the system. You can't recreate deleted files with fsck, and you may not get the system back up in a usable state if you shut it down now.
Feb
1
comment Find all numbers not in a range
What have you tried so far?
Jan
31
comment “Disk space full” - Linux Mint as Dual Boot on UEFI Windows
I usually put /var on a separate partition to avoid that. You might also want to figure out exactly what it is that is creating all those logs, otherwise the problem will recur.
Jan
25
comment How can I run a script as sudo and for it to not ask me for a password?
I changed the sudoers line, try again.
Jan
25
comment How can I run a script as sudo and for it to not ask me for a password?
One answer coming up, in a few minutes...
Jan
25
comment How can I run a script as sudo and for it to not ask me for a password?
What is the exact line that you added to your sudo rules?
Jan
22
comment php-fpm error unable to bind listening socket for address '127.0.0.1:9003': Permission denied (13)
Do you have SELinux enabled? You can check this by running getenforce.
Jan
15
comment Using the cURL command, how does one fetch stock data which comes back *without* commas and spaces?
@ChrisDormani The excerpt in the E.G.part is not quite the same; the last argument to the URI is different. In your original code it says snl1c6j2s6f6, but in @peterph's example, it says sl1c6sj2ss6sf6.
Jan
12
comment Can ssh (agent) work with two separate identities?
Are you using the same ssh username for the two keys?
Dec
29
comment Move file but only if it's closed
@PeterKovac I learned more about them too, from reading the answers, so I'm very glad you asked it.
Dec
29
comment Move file but only if it's closed
Do you have any control over the external process? Would it be possible for the external process to create a temporary file and rename the file once it's finished writing to it?
Dec
1
comment How to update linux “locate” cache
@JohnHunt If you look up a little, you'll see that the question was migrated from ServerFault about ten hourse after I'd posted that comment.
Nov
22
comment How to prevent `mv` from moving a collection of files into a single regular one?
@G-Man Good points, both of them. I never even thought of shopt -s globstar, thanks for mentioning it!
Nov
21
comment disk space by individual user
The first one looks at the root directory of the server (/), the second only at /etc/main. Neither of them will show the subdirectories under /etc/main; in order to do that, you need to add a *. You can either go to /etc/main and write du -s * | sort -nr or you can write du -s /etc/main/* |sort -nr in order to get the file sizes of each subdirectory.
Nov
21
comment disk space by individual user
@NageshwaranM Those commands look very strange to me, presumably due to markdown formatting... Could you rewrite them, using the code markes (`) around the commands?