Month: May 2009

Syntax for Secure Copy (scp)

What is Secure Copy? scp allows files to be copied to, from, or between different hosts. It uses ssh for data transfer and provides the same authentication and same level of security as ssh. Examples Copy the file “foobar.txt” from a remote host to the local host scp /some/local/directory Copy the file “foobar.txt” from…

How do I get started with Linux?

I have been asked how does one enter the fruitful land of Linux, well, in a nutshell here it is; 1. Download you favorite iso image from 2. Burn the iso file to a CD using your favorite CD burning software. Remember to burn the .iso using the “Burn image to CD” option or…

28 Coolest Firefox About:Config Tricks

28 Coolest Firefox About:Config Tricks

Change Default crontab editor CentOS

  I was working on some sysadmin tasks on a freshly installed server, and I found out the crontab editor was not what I expected it to be. I really like vi (or vim) for command line editing, so I wanted ‘crontab -e’ to use vim instead of something else. To make that happen, I…

Windows Bash Prompt

export PS1=’C:${PWD//\//\\\}>’

Linux File Structure

bashrc file

Nice bashrc file bashrc

Linux Commands

Privileges sudo command – run command as root sudo su – open a root shell sudo su user – open a shell as user sudo -k – forget sudo passwords gksudo command – visual sudo dialog (GNOME) kdesudo command – visual sudo dialog (KDE) sudo visudo – edit /etc/sudoers gksudo nautilus – root file manager…

Install from source

download the source code, unzip it and then compile it. wget filelocation tar -xzvf filename cd newfolder ./configure make make install wget tar xzf clamav-0.95.1.tar.gz cd clamav-0.95.1 ./configure && make && make install The ‘&&’ runs commands in a sequence one right after the other So, technically you could install the software like this:…

Error from park wrapper: is already configured

On a cPanel server if you get the error: Error from park wrapper: is already configured while adding an add-on domain under cPanel. Make sure to remove the entries from: /var/named/ /etc/httpd/conf/httpd.conf /var/cpanel/users/username  remove (dd) related entries to domain, /etc/userdomains /etc/localdomains vim /etc/named.conf   remove (dd) related entries to domain remove dns entry in…

WP2Social Auto Publish Powered By :