1,151 reputation
411
bio website markashields.com
location Atlanta, GA
age 31
visits member for 3 years, 5 months
seen 18 hours ago

I work for a small business consulting company as their sole system administrator. Previously, I worked for one of the largest web hosting companies in the U.S. as a linux sysadmin.


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 suggested 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.
Nov
19
comment Reinstalling Linux with backup
Why reinstall? Just upgrade!
Nov
19
comment How do I stop a find from descending into found directories?
@jw013 I didn't have the time to provide a more indepth answer at that time.