982 reputation
210
bio website markashields.com
location Atlanta, GA
age 30
visits member for 1 year, 11 months
seen yesterday
stats profile views 67

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.


Oct
21
comment How to really security a linux-mint-desktop?
I would like to add: "Restricted access to these services wherever possible using a firewall" -- restrict access to services by configuring the daemon; make it listen only on localhost, for example, if that's all you need. The firewall isn't needed, at least for that one service, then. One less point of failure.
Oct
15
answered Can I pass files between commands?
Sep
25
comment Postfix doesn't send mail, complaining about “Host or domain name not found”
Check your /etc/resolv.conf for invalid/non-responding resolvers. Try to do a host gmail.com; see if you get results.
Sep
20
revised How do I handle switches in a shell script?
added 6 characters in body
Sep
20
comment How do I handle switches in a shell script?
Why would you need two sets of parentheses for $#? Edit: you're right. Fixed it to while (( "$#" ))
Sep
19
revised How do I handle switches in a shell script?
Corrected options($@) to options "$@" (perl versus bash/wrong and right), fixed some more of me trying to use Perl in Bash
Sep
19
comment How do I handle switches in a shell script?
Yup, I mixed up Perl and Bash. Corrected.
Sep
18
awarded  Editor
Sep
18
revised How do I handle switches in a shell script?
of=off
Sep
18
awarded  Commentator
Sep
18
comment What is the best CentOS 6 repo list for LAMP stacks?
Switch to a rolling release distribution for the server, such as Arch Linux or Gentoo, if you want up to date, bleeding edge software.
Sep
18
answered How do I handle switches in a shell script?
Sep
11
comment Cron job not executing
How about the shebang? Does the first line say: #!/bin/sh or #!/bin/bash -- this may be your problem.
Sep
6
answered Cron job not executing
Aug
29
answered How to remove duplicate lines in a large multi-GB textfile?
Aug
16
comment How to pipe md5 hash result in shell
awk works too: echo -n test | md5sum | awk -F" " '{print $1}' or awk -F" " '{print $1}' <(echo -n test | md5sum)
Aug
16
answered Slow down a process without affecting other processes
Aug
13
comment How do I log into my Linux laptop if I have forgotten both the login and password?
If the above fails -- unlikely if GRUB is password -- boot from an Ubuntu livecd (preferrably 9.04 server), mount your Ubuntu partitions, then chroot into it. You can then issue the passwd command to reset root, your user, etc.
Jul
27
answered How to delete a file on remote machine via SSH by using a Shell Script?
Jul
23
awarded  Supporter