Tag Archives: Linux

Flyback is a "Time Machine" clone

http://code.google.com/p/flyback/

Posted in Geek | Tagged | Leave a comment

How to back up databases, via CLI

http://www.unixcities.com/mysql/mysqldump.html This is a good article to give a head start.

Posted in Geek | Tagged , | Leave a comment

Using SSH keys without entering a password

Thanks to my friend, Cade, and a number of websites, I was able to figure out how to ssh into my servers at home and work, without entering a password. Here’s how I did it: 1. From the box that … Continue reading

Posted in Geek | Tagged , , | Leave a comment

A custom shell prompt that I like:

PS1=”\n\u@\H:\w# “ is what I like to have in my .profile for root. PS1=”\n\u@\H:\w\$ “ is what I like to have in my .profile for a normal user. I just appended that line to the end of my .profile for … Continue reading

Posted in Geek | Tagged , | Leave a comment

lsof- recommended by Burke Steinfelt

http://dmiessler.com/study/lsof/ This is a took that allows you to do many complex things that are common to admins.

Posted in Geek | Tagged , | Leave a comment

How to: Determine whether an app is installed on a Linux box

Check these directories: /opt/ /usr/local/

Posted in Geek | Tagged | Leave a comment

cmdwatch

I asked Cade what command will show me a dynamic view of netstat. He told me that ‘cmdwatch’ in BSD (‘watch’ in Linux) will show me the dynamic status of any command. For instance, in BSD, cmdwatch -n 1 ‘netstat … Continue reading

Posted in Geek | Tagged , | Leave a comment

Screen: Using Screen

Last night, I finally dug in a little, into what Screen is, what it does, and how I can use it. I learned the following: screen -r will show you what screen sessions are available. screen -S newname will create … Continue reading

Posted in Geek | Tagged , | Leave a comment

To make a file executable:

chmod +x file-name http://www.cyberciti.biz/faq/how-do-i-make-a-linux-or-freebsd-file-an-executable-file/

Posted in Geek | Tagged , | Leave a comment