Tags
apache apparmor apt apt-get bash common mysql convert date diff division dpkg emails file find floating Forking https kickstart linux localtime Monitoring mysql package perl PHP phpmyadmin php seconds ago point Postfix queue rpm setup shell scripting size ssh subversion svn time time diff ubuntu UTC viewvc vim wordpress hacks wordpress tips wordpress tricks-
Meta
Recent Comments
- Yoav Aner on Linux: How To Forward SSH Agent With Sudo
- siba prasad on How to move a column in MySQL
- Fitz on How to move a column in MySQL
- SvenT on How To Get Yesterday's Date using BASH Shell Scripting
- Business Intelligence on SVN: Send Emails With Every Commit
- Lou on Xbox: Westinghouse LCD TV and Xbox 360 Universal Remote
- Manikandan on Ubuntu: Flushing IpTables Causes Loss of Internet Connection
- infosb on How to Disable Media Manager Services
Categories
-
Recent Posts
- NFS: Forcing NFS clients to use NFS Version 3
- GIT: Setting up a basic repo
- PHP: Switch Case Regex
- Perl: How To Fix malformed UTF-8 character in JSON string
- Ubuntu 11.04: Google Chrome Sync Server is Busy
- Ubuntu 11.10: Disable System Beep
- Ubuntu 11.10: How To Disable Unity
- PHP: Get URL Content Using PHP Curl
Blogroll
News
CNN.com- Police: Trayvon Martin's death 'ultimately avoidable'
- Man questioned in highway killings
- Flesh-eating infections: Scores per year
- Travolta accuser hires Gloria Allred
- Court upholds Mississippi pardons
- Facebook IPO: Internet glee, skepticism
- Do voters want moderates out of D.C.?
- Now it's the jury's turn in Edwards trial
- Breyer's D.C. home hit by burglary
- Opinion: Dimon's $23M isn't the problem
BBC- VIDEO: Help offered on bringing up baby
- China jails smuggler Lai for life
- Airport starts search for new MD
- Dementia patient 'had 106 carers'
- Quarter of buses have problems
- 'Escalator tore off my big toe'
- Sex offenders get police cautions
- VIDEO: Malawi babies who are fighting to grow
- VIDEO: UK prepares for Olympic flame arrival
- VIDEO: G8 leaders to meet at Camp David
AL JAZEERA ENGLISH (AJE)- 'Disco queen' Donna Summer dies at 63
- Facebook to go public in $104bn flotation
- Tunisia-uprising injured sew lips in protest
- DR Congo troops shell rebel bases
- UN chief blames al-Qaeda for Syria bombings
- China jails fugitive smuggler for life
- Mladic trial postponed over 'errors'
- Fitch downgrades Greece on euro exit fears
- New French cabinet takes pay cut
- Obama unveils 'new chapter' in Myanmar ties
Archives
- April 2012
- March 2012
- November 2011
- October 2011
- September 2011
- August 2011
- July 2011
- June 2011
- May 2011
- April 2011
- March 2011
- December 2010
- November 2010
- October 2010
- September 2010
- August 2010
- July 2010
- June 2010
- May 2010
- April 2010
- March 2010
- February 2010
- December 2009
- September 2009
- August 2009
- July 2009
- June 2009
- May 2009
- April 2009
- March 2009
- February 2009
- December 2008
- November 2008
- October 2008
- September 2008
- August 2008
- June 2008
- May 2008
- April 2008
- March 2008
Monthly Archives: September 2010
Linux: How To Find Which Package Contains A Specific File
Fedora: # rpm -qf /bin/bash bash-3.0-19.3 Debian/Ubuntu: # apt-get install apt-file # apt-file update # apt-file search perl.pm libapache-mod-perl: usr/lib/perl5/mod_perl.pm …
Posted in Linux
Leave a comment
Linux: Where is the “replace” command?
“replace” lives in the the “mysql-server” package Fedora: yum install -y mysql-server Debian/Ubuntu: apt-get install -y mysql-server Run it: $ replace replace: No replace options given
Linux: How To Setup Reverse SSH Tunnel
Let’s assume you’re trying to SSH from your home machine into your office machine, but inbound port 22 is blocked by your office firewall. Here’s how to get around it: On your office machine: $ ssh -fnNTR 1234:localhost:22 my-home-username@my-home-domain.com What … Continue reading
Posted in Linux, SSH
Leave a comment
subversion: Missing Dependency: libneon.so.25 is needed by package subversion-1.6.12-0.1.el5.rf.i386 (rpmforge)
If you ever run into this problem: # yum install -y subversion Loaded plugins: fastestmirror … –> Finished Dependency Resolution subversion-1.6.12-0.1.el5.rf.i386 from rpmforge has depsolving problems –> Missing Dependency: libneon.so.25 is needed by package subversion-1.6.12-0.1.el5.rf.i386 (rpmforge) subversion-1.6.12-0.1.el5.rf.i386 from rpmforge has … Continue reading
Posted in Errors, Linux
Leave a comment
daemontools: /usr/bin/ld: errno: TLS definition in /lib/libc.so.6 section .tbss mismatches non-TLS reference in envdir.o
Solution for fixing compilation error for daemontools. This solution also fixes: /usr/bin/ld: errno: TLS definition in /lib/libc.so.6 section .tbss mismatches non-TLS reference in tcpserver.o when compiling ucspi-tcp. Edit this file: admin/daemontools-0.76/src/conf-cc Add this to the end of the gcc line: … Continue reading
Posted in DNS, Errors, Linux
4 Comments
Ubuntu: How To Find Ubuntu And Kernel Version
$ cat /etc/issue Ubuntu 10.04.1 LTS \n \l $ cat /etc/lsb-release DISTRIB_ID=Ubuntu DISTRIB_RELEASE=10.04 DISTRIB_CODENAME=lucid DISTRIB_DESCRIPTION=”Ubuntu 10.04.1 LTS” uname -a : print all information uname -r : print the kernel release uname -v : print the kernel version uname -o : … Continue reading
Posted in Linux
Leave a comment
Linux: TinyDNS Data File Syntax
. defines an A, NS, and SOA record Z defines the zone record & defines a name server @ defines an MX record + defines an A record ^ defines a PTR record = defines BOTH an A record and … Continue reading
Posted in DNS, Linux
Leave a comment
Linux: How To Low-Level Format A Hard Drive
If you need to format a drive to erase all of your Nobel-prize-winning research, here’s how to do it. First, identify the drive by device name: # df … /dev/sdb1 731886588 1742280 730144308 1% /media/My Whatever Drive Then, use dd … Continue reading
Posted in Linux
Leave a comment
Linux: How To Use Expect
Here’s a simple expect example: #!/usr/bin/expect -f spawn some-script-requiring-input.sh expect “Enter passphrase:” send ThisIsMyPassword\n interact Another example using variables: #!/usr/bin/expect -f set myhost MyCrazyBox spawn ssh $myhost “ls” expect $myhost send “MyPassword” interact Another example installing a printer: #!/usr/bin/expect -f … Continue reading
Posted in Linux
Leave a comment