Reputation
18,570
Top tag
Next privilege 20,000 Rep.
Access 'trusted user' tools
Badges
10 65 100
Newest
 Yearling
Impact
~1.5m people reached

Jan
9
awarded  Citizen Patrol
Jan
6
comment Appending text to end of a textfile
@jon-doe You can append line breaks by using echo - by default, it sends a line break; if you want more, you would do (for adding 4 line breaks) echo -e '\n\n\n'. To do it in one line, you can use braces { echo "text"; echo date; } >> file.
Jan
5
revised Is PAE worth it when I have 4GB RAM?
deleted 4 characters in body
Jan
5
revised Lowercasing all directories under a directory
added 142 characters in body
Jan
5
revised Lowercasing all directories under a directory
Changed to reflect critiques.
Jan
5
comment Lowercasing all directories under a directory
Yep, for...*/ would be better.
Jan
5
answered Lowercasing all directories under a directory
Dec
29
comment Invoking pushd in a shell script
@sarah-soto All you need then is pushd <params>; other-command
Dec
29
revised Invoking pushd in a shell script
added 5 characters in body
Dec
28
answered Invoking pushd in a shell script
Dec
28
answered How to find the BSP sections in the Linux source code?
Dec
25
answered Light up a LED through USB
Dec
24
accepted How does one atomically change a symlink to a directory in busybox?
Dec
23
comment Why are spin locks good choices in Linux Kernel Design instead of something more common in userland code, such as semaphore or mutex?
Spinlocks are not always a waste in kernel code. This was explained very well by @HandyGandy in your previous question.
Dec
22
revised How does one atomically change a symlink to a directory in busybox?
added 14 characters in body
Dec
22
asked How does one atomically change a symlink to a directory in busybox?
Dec
22
comment What is a spinlock in Linux?
In the spin lock method, the scheduler resumes the process every ~1 second to do its task (which is simply check the existence of a file). In the inotifywait example, the scheduler only resumes the process when the child process (inotifywait) exits. Inotifywait is also sleeping; the scheduler only resumes it when the inotify event happens.
Dec
22
revised What is a spinlock in Linux?
added 536 characters in body
Dec
22
revised What is a spinlock in Linux?
added 3 characters in body
Dec
22
answered What is a spinlock in Linux?