Reputation
1,252
Top tag
Next privilege 2,000 Rep.
Edit questions and answers
Badges
6 12
Newest
 Enlightened
Impact
~175k people reached

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 just one process to regulate CPU temperature
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