Reputation
3,843
Top tag
Next privilege 5,000 Rep.
Approve tag wiki edits
Badges
1 9 16
Newest
 Yearling
Impact
~218k people reached

Apr
14
comment How to find out if a system uses SysV, Upstart or Systemd initsystem
What might one want to do with this information for which uselessd is not compatible with systemd? A brief look at that site seems to show that it is a "cut-down systemd".
Apr
7
comment Is it viable to run Live Linux on a Laptop with a failing hard drive?
You should disconnect the hard drive, so that it does not attempt to use any part of it as swap or temporary storage.
Apr
5
revised why is “timer_t” defined in “time.h” on Linux but not OS X
Clarify feature test macros.
Apr
4
awarded  Yearling
Apr
1
answered How do I use man pages to learn how to use commands?
Mar
24
comment How can I search in vim for a pattern that is NOT case sensitive?
Just for the record, smartcase is vim-only. But OP's "vi" is likely vim, so it's worth mentioning/trying.
Mar
24
revised How can I search in vim for a pattern that is NOT case sensitive?
Looked it up for you.
Mar
19
revised Do I need swap space if I have more than enough amount of RAM?
Fix spelling, add a brief description for people not familiar with the implications of the hibernate function.
Mar
13
comment Which of the following codes will run in the same process of the current shell
@HHan You need to attach strace to the original shell. You could put all the lines in a script and then strace a shell running the script, or attach strace to your running shell with strace -p from a separate terminal.
Mar
13
answered Which of the following codes will run in the same process of the current shell
Mar
12
comment monitor linux file systems using df
Aren't -k and -h contradictory?
Mar
9
revised Why specify block size when copying devices of a finite size?
added 16 characters in body
Mar
9
answered Why specify block size when copying devices of a finite size?
Mar
6
comment Why is architecture listed thrice in uname -a?
If you need an example of a more common one where all three are different, I found some examples on google of "i686 athlon i386".
Mar
4
comment Shell script `rm -r`: Redirect write-protected prompt and answer “n”
"I want the names of the protected files." - can't you get these by just seeing what files are still there at the end?
Mar
4
comment Shell script `rm -r`: Redirect write-protected prompt and answer “n”
It'll just skip them. But if you want you could just create an example tree to test on, with touch to create empty files and chmod to set whatever permission you want on files or directories. However, if you're not able to delete them because they're owned by someone else, you'll get a message.
Mar
3
comment Shell script `rm -r`: Redirect write-protected prompt and answer “n”
I found it - using g=w will only find files with permission of exactly 020, rather than all files having it set. You can use -g=w or /g=w to find files with it set (-ug=w finds files with both user and group write, /ug=w finds files with either set.)
Mar
3
comment Shell script `rm -r`: Redirect write-protected prompt and answer “n”
You should use -delete, not -exec /bin/rm. Neither g=w nor u=w works for me at all; find treats permissions differently from chmod - /=w works for this for me.
Mar
2
answered Why does the specific sequence of options matter for tar command?
Feb
25
awarded  Enlightened