Reputation
20,533
Top tag
Next privilege 25,000 Rep.
Access to site analytics
Badges
12 73 104
Impact
~2.0m people reached

Mar
6
comment Why doesn't INotify work with `/etc/mtab` or `/proc/mounts`?
stat /etc/mtab will tell you why the other answer is completely relevant
Mar
5
comment How to bootstrap a new dependency configuration on a cluster?
Look into producing a statically-linked build. Depending on what you're building, it can be pretty simple or very complex. If it's just a single program that's built with autotools, make SHARED=0 CC='gcc -static' may work. If you try to figure out how to build your project with static, you'll be able to ask more precise questions.
Nov
20
comment What is the difference between a job and a process?
@Kenny, as far as processes, when I say program, that's a very general thing - a set of ordered instructions for the CPU to carry out. This is also called a task or a thread of execution. A process may create another thread that shares its address space.
Nov
20
comment What is the difference between a job and a process?
@Kenny yes, those tro jobs would also be processes. In fact, every job is a process. A job is related to your she'll session. Every process you start that doesn't detatch from your tty is a job.
Nov
3
comment Is it possible to install the linux kernel alone?
@ps06756 If you have the initramfs, that is not the kernel "alone" as the question asked. If the initramfs has an init, the kernel will not complain.
Jul
3
comment Can I read and write to the same file in Linux without overwriting it?
cat can write to its output at any time; if it writes past the point at whatever is on the other side of the pipe has read, then you will read in what you wrote instead of the original file contents. That is what makes sponge special. It buffers its input until stdin closes, then writes.
Jun
20
comment How do I count all the files recursively through directories
@krzysiek-boduch Thanks! I updated the answer.
Jun
4
comment Brackets in if condition: why am I getting syntax errors without whitespace?
@goldilocks, yes, that is my preferred style. The reason it's unusual is because he is not doing that.
Jun
4
comment Brackets in if condition: why am I getting syntax errors without whitespace?
The given answers are correct; you need whitespace after [. Additionally, look into the elif statement; it will help you clean things up. Also, the semicolons after the if statements are not necessary, but are also not incorrect, just strange.
Jun
4
comment Getting Source as Flatfile and to remove the Carriage returns and \n …special charaters?
Is it suitable to remove all \n characters, or is there a special case when a \n is not desired?
Apr
13
comment What is the Linux equivalent of DOS “dir /s /b filename”?
@sopalajo-de-arrierez If you do shopt -s globstar, it will probably work for you. Recursive globbing is a feature that is available only in some shells, and sometimes, it is not on by default.
Mar
10
comment How to report number of files in all subdirectories?
@toxalot you can if you have a find that supports -printf, but not if you want it to work on FreeBSD, for example.
Jul
25
comment Is there a way to find which iptables rule was responsible for dropping a packet?
fedorahosted.org/dropwatch might also be helpful in the future.
Jun
29
comment Why must loopback traffic be authorized using iptables to get web access?
It seems that there must be other IPtables rules in place. It could be from a firewall or a captive portal system or a number of other things.
Jun
8
comment Can I install a distro to one partition while using a distro installed on another?
unetbootin will let you write a livecd to a hard disk drive; you might start there.
Jun
8
comment Why are POSIX Find Parameters Different from Other Program styles?
dd is another POSIX utility that has a very different argument convention.
Mar
12
comment No make target “uImage” with Buildroot 2013.05
This question would work much better on the Buildroot mailing list. buildroot.net/lists.html
Mar
12
comment Is there a way to renice the network stack?
You may want to look into the realtime extensions.
Dec
6
comment Different ways to execute a shell script
@Geek when you execute a script as a child process (the normal way), any variables and functions it defines (it's environment) go away when the process terminates. If you source the script, those variables and functions are created in the current environment; when the script finishes, the changes to the environment remain.
Nov
23
comment How is the inherited file descritor vulnerability dealt with in Unices?
That makes sense, although just having close-on-exec doesn't fix the problem: you have to have the ability to request that flag from every function that returns a new file descriptor.