Reputation
1,242
Top tag
Next privilege 2,000 Rep.
Edit questions and answers
Badges
5 11
Newest
 Yearling
Impact
~167k people reached

Apr
17
answered using lines of output as an array in bash
Apr
17
comment Route incoming network requests for a given port to different applications
Upvoted. To add a little, he's better off using an init script that starts the other app when his app isn't running, and stops it when it is.
Apr
17
answered How can I look up a username by id in linux?
Apr
16
answered QEMU do not start when executed in background inside shell script
Mar
25
revised Add character to beginning and end of column
deleted 2 characters in body
Mar
25
answered Add character to beginning and end of column
Mar
10
comment Bash script error trying to find directory of script itself: unexpected end of file
Why not just re-use $PWD ? (not worth an 'answer')
Mar
6
answered What distribution for light weight server?
Feb
11
comment How do I find out what hard disks are in the system?
Use fdisk -l /dev/sd? or fdisk -l /dev/hd? to avoid bring in dm devices.
Feb
6
comment Doing simple math on the command line using bash functions: $1 divided by $2 (using bc perhaps)
Using double parentheses to evaluate math expressions is deprecated. Use: $[expression] instead
Jan
27
answered How to add/replace only modified/updated files recursively for some 2 folders?
Jan
22
revised Move /usr to SSD
Changed 'copy' directive to use rsync instead. Preserves permissions, ownership, timestamps, etc.
Jan
22
suggested approved edit on Move /usr to SSD
Jan
10
comment What's the connection between “/etc/init.d” and “/etc/rcX.d” directories in Linux?
This depends on the system. Gentoo, for example, uses only /etc/init.d for it's init files; it has no /etc/rc*.d directories. Arch Linux, likewise, only has /etc/rc.d, instead of /etc/init.d.
Jan
8
comment How to check mdadm raids while running?
Sounds like you're already on the right path, you just need to setup a cron to send you the results of smartctl for your drives.
Jan
7
answered How can I send stdout to multiple commands?
Nov
28
comment Can I prevent a file from being created?
It may not be the answer the person is looking for, but it's definitely the one that solves the cause rather than ignoring it. Upvote for reply.
Nov
21
comment How to perform a sed in-place substitution that only creates backups of files that were changed?
@Kevin The . is unnecessary with find (at least find found on linux) because it's assumed when no path is passed an argument.
Nov
21
answered How to perform a sed in-place substitution that only creates backups of files that were changed?
Nov
20
comment Reinstalling Linux with backup
Clean up your system a little but try not to think of it as necessary for linux desktops.