Search Results

Search: Posts Made By: Habitual
8,816
Posted By Habitual
Turn your computer into a digital radio alarm...
Turn your computer into a digital radio alarm clock (http://forums.linuxmint.com/viewtopic.php?f=213&t=77603&p=459886)
2,105
Posted By Habitual
both --procfilt -p $(pidof mongod) ...
both
--procfilt -p $(pidof mongod)
--procfilt $(pidof mongod) both seem to put out identical data...?

and most importantly, (I just noticed also)
collectl V3.6.0-1 (zlib:2.033,HiRes:1.972101)...
2,105
Posted By Habitual
Mark: I am looking for the cause or clue of...
Mark:

I am looking for the cause or clue of what my clients reports as an issue for him.
He has an AWS Instance that was Ubu 9.04, so we upgraded his Instance to 12.04 LTS.
This cloning process...
2,105
Posted By Habitual
Mark! Your "style" in your options/switches...
Mark!

Your "style" in your options/switches suits me just fine. :)
So, the command I am now using hopefully that eliminates the 'extra' step is collectl --procfilt $(pidof mysqld) --dskopts z -sD...
2,105
Posted By Habitual
you are twice as good. 1 for fast reply. 1...
you are twice as good.
1 for fast reply.
1 for working command.

Thank you very much.

Edit. Props for alternatives!
2,105
Posted By Habitual
grep -v 13 zeros in a string - Resolved
I have a sample file created with collectl that contains a targeted collection of the mysqld threads that are writing to raid0 up on AWS. The output collects what I want, but what I need is grep...
2,261
Posted By Habitual
and from unix time to actual is date -d...
and from unix time to actual is date -d @1343314800
4,450
Posted By Habitual
same disscussion over at...
same disscussion over at https://www.unix.com/shell-programming-scripting/191615-how-remove-last-3-lines-many-files.html
12,319
Posted By Habitual
ssh-keygen -f /some/$user/.ssh/user1-id_rsa -t...
ssh-keygen -f /some/$user/.ssh/user1-id_rsa -t rsa -N '' -q

is what I have been using.

user1-id_rsa can be whatever you need it to be.

or see...
3,586
Posted By Habitual
and | sed -n '2p' works also.
and | sed -n '2p' works also.
13,955
Posted By Habitual
My .bash_history only has 14K using ...
My .bash_history only has 14K using

HISTCONTROL=ignoredups:ignorespace
HISTSIZE=30000
HISTFILESIZE=30000
export HISTTIMEFORMAT='%F %T '
export HISTIGNORE=' cd "`*: PROMPT_COMMAND=?*?'
2,369
Posted By Habitual
migurus: +1 and props for the heads up! ...
migurus:

+1 and props for the heads up!

Solution is much simpler that I anticipated. Funny what 2 days away from the keyboard can do... :)

gta.sh (Grab That Apache)

grep -iq "CentOS"...
2,369
Posted By Habitual
Thanks migurus: I re-thought the process and...
Thanks migurus:
I re-thought the process and got a solution for CentOS

### Set/force "uniqueness" of tar archive in a general way
TARDATE=$(date '+%m-%d-%Y.%s')

### Set the Apache conf and...
2,369
Posted By Habitual
"Walk" apache installs and do a tar on them...
Hello unix.com Community:

I need help with writing a "common" script that can get the httpd installs by name and install directory|ies and tar.gz them up by name and point that tar operation to...
5,120
Posted By Habitual
There's no _ in $prefix"config"? Also, try ...
There's no _ in $prefix"config"?

Also, try
set -x under
#!/bin/bash

in your script and then run the script manually, you'll see tons of diagnostic "goodies" :)
2,078
Posted By Habitual
echo \<\< > file.sh
echo \<\< > file.sh
2,473
Posted By Habitual
Personally, I'd quote the string "TestCompany,...
Personally, I'd quote the string "TestCompany, Inc." in ConfigFile

HTH
7,095
Posted By Habitual
www.rigacci.org/docs/biblio/offline/TLCL-09.12.pdf
www.rigacci.org/docs/biblio/offline/TLCL-09.12.pdf
1,435
Posted By Habitual
A remote script that has a chmod 0000...
A remote script that has a
chmod 0000 `basename $0` in it's body.

Might also need an "export HOME=/root" statement (if run as root, or other acceptable user.)

HTH
5,784
Posted By Habitual
I just offered a solution on another forum not...
I just offered a solution on another forum not 1.5 hours ago. :)
1,674
Posted By Habitual
terminal > mysql -uroot -p <db_copy> <...
terminal >
mysql -uroot -p <db_copy> < /path/to/file.sql
6,557
Posted By Habitual
apt-get install debconf-utils for starters. ...
apt-get install debconf-utils

for starters.

debconf-get-selections | grep mysql

sudo dpkg-reconfigure <mysql-package>
to "reset" the mysql install password.

"Preseed" is the technical...
3,011
Posted By Habitual
Thanks methyl: the "cut -c9-21" seems to do...
Thanks methyl:

the "cut -c9-21" seems to do the trick for now. :)

I also suspect that the /7 may have b0rked up the output.
3,011
Posted By Habitual
Thanks methyl and admin_xor: As usual...
Thanks methyl and admin_xor:

As usual "YMMV"... :)

anyway, does this make any difference?

+ temp=$'Microsoft-IIS/7.5\r'

the \r is what stands out...

JJ

Edit:

I also tried
......
3,011
Posted By Habitual
admin_xor; "echo always returns zero" is the...
admin_xor;

"echo always returns zero" is the rule I was looking for, when I couldn't even think of it!
I have implemented your suggested code, but...
Showing results 1 to 25 of 118

 
All times are GMT -4. The time now is 07:24 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy