1,116 reputation
411
bio website markashields.com
location Atlanta, GA
age 31
visits member for 3 years, 1 month
seen yesterday

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.


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
Jul
23
comment How to limit log file size using >>
Logrotate can rotate once the file has reached a certain size, daily, weekly, etc. It can also compress, and you can use the postscript option to have the logrotate config send then SIGHUP to the program.
Jul
23
comment A more readable ps
htop also works with a mouse (it uses ncurses?) -- you can click on the different columns, and it will sort by that column.
Jul
22
comment How to determine which executable on my path will be run?
It uses tcsh or bash, depending on the version. See: aplawrence.com/MacOSX/macosxshell.html
Jul
22
answered How to determine which executable on my path will be run?
Jul
19
awarded  Citizen Patrol
Jul
17
comment How to wget Youtube horrible URL
It would be good to explain the reason for using quotes. The reason it's not giving you the right URL is because the URL contains an '&' (ampersand) character, which your shell interprets as a fork() to background; in other words, your shell sends the first part of the command wget http://youtube.com/results?search_type=videos& to the background, then treats the next part of the "command" as a new one, until it reaches another &, and so on and so forth.
Jul
16
answered How to share the internet connection?
Jul
16
answered Why is piped input okay to zenity, but <file malfunctions?
Jul
11
comment Are there any issues using 2TB hard drives with 4k sectors
Only certain drives emulate 512 byte logical sectors; also, I ran into an issue where having one large partition was not possible with MBR partition table; I had to use GPT, and that is not compatible with grub/grub-legacy. So it was either use grub2, which had the necessary support for both GPT and the sector size, or use a cheap IDE 160 GB that was new but we had to spare. Guess which one my boss decided on?