1,116 reputation
411
bio website markashields.com
location Atlanta, GA
age 31
visits member for 3 years, 2 months
seen 2 days 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.


Feb
21
comment Which distribution is usually chosen in an enterprise environment - Debian or RHEL (CentOS)?
Your question is open to debate and therefore not fit for this site. Flagged.
Feb
21
comment find flags: -exec rm -rf vs -delete
Even simpler: rm -rf practice{1..10}
Jan
30
comment Why do I get fsync() failed: Disk quota exceeded on my linux machine?
Is quota configured? Run quotacheck -a and look at the output.
Jan
11
comment Count appearance of a variable in another file
That would skew the results. If you have more than one instance per line, suddenly your counted results aren't accurate.
Jan
11
comment ddrescue: reread only good sectors?
Using dd without a block size (bs) set makes FSM sad.
Jan
10
comment Count appearance of a variable in another file
No need to pipe to wc -l and count lines; grep can already count occurrences with the -c option.
Jan
9
comment Change default path for when I SSH in to CentOS server?
It's better to use usermod when changing anything concerning a user that writes to /etc/passwd, to prevent mistakes: usermod -d /home user.
Dec
28
comment 'kill java' doesn't kill java
kill -9 is generally a last resort. It's better to try kill -11 then kill -6 first. If kill -11 doesn't kill it, kill -6 usually does. Try kill -11 first, wait a few/several seconds, and if the process is still alive, try kill -6. Wait several seconds and if it still isn't dead, you can then try kill -9.
Dec
24
comment mkdir multiple directories with a subdirectory name having space in it
This would also work: mkdir -p project/level{' 1', 2}
Dec
24
answered Check whether two directories and their subdirectories are the same
Dec
19
answered Bulk Adding Users to Groups
Dec
14
answered Identify folder in bash
Dec
12
comment /: is a directory issue in bash
Upvoted. The shell will interpreted text separated only by slashes as directories, not commands/arguments. The forward slash can be used in arguments of, for example, Perl scripts (requires configuring Getopt::Long or rolling your own), but still requires the space between the command and arguments -- again, this is a shell requirement.
Dec
9
comment Automated SFTP upload with curl
OP, please accept my answer if you found it acceptable.
Dec
9
answered Copy files with deleting suffix in name
Dec
9
comment Copy files with deleting suffix in name
This doesn't work with files with spaces
Dec
9
comment Is there any way of prompt a message when a command in /usr/sbin/ is tried to run as nonroot?
Did you source your .bashrc or close and open a new terminal?
Dec
4
comment Rename multiple directories decrementing sequence number?
while technically true, quoting is generally considered best practice.
Nov
29
comment What distribution for light weight server?
ArchLinux stands by it's slogan, but if you want a lightweight distro that doesn't take much effort/time to get up and running, then Ubuntu minimal is the way to go. I recently used in a project and got up and running in no time.
Nov
23
comment MDADM - how to reassemble RAID-5 (reporting device or resource busy)
@hhaamu with that many drives, I'd go raid 6 over raid 10, even.