Join our Discussion Boards - Here

The Best Open Source Developer/System Admin Text Editor

notepadplusplus

When ever I re-install windows one of the first tools I install is notepad++, it a very versatile text editor and is always open on my desktop.

It has some great features, including;

Tabbed document interface Drag-and-drop Multiple Clipboard (plugin required) Split screen editing and synchronized scrolling Spell checker (requires Aspell) (Spell . . . → Read More: The Best Open Source Developer/System Admin Text Editor

How do I find out if I am running 64bit or 32bit Centos?

Sometimes you can’t remember if you installed 64bit or 32bit centos, to find out which version you are using;

uname -a

And you will get a response like

[root@monitor zenoss]# uname -a xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx i686 i686 i386 GNU/Linux

How Do I Find Which Version of Centos I Am Running?

Sometimes you install a centos machines ages ago and can’t remember what you installed. If you want to find out which version it is, easy

tail /etc/redhat-release

This will return something like;

[root@]# tail /etc/redhat-release CentOS release 5.2 (Final)

The Best SSH Client for Vista

I have used this SSH client for the last 6 months and can heartily recommend it.

http://www.bitvise.com/tunnelier

Below are the features directly ripped from their site;

one of the most advanced graphical SFTP clients; state-of-the-art terminal emulation with support for the bvterm, xterm, and vt100 protocols; support for corporation-wide single sign-on using SSPI (GSSAPI) Kerberos 5 and . . . → Read More: The Best SSH Client for Vista

How to Copy a File To and From a Remote Server Using SCP

SCP is a usefull tool for moving files from one machines to another, if they are large collections of files don’t for get to tar them

tar -cvf mytarfile.tar mydir/

This will copy ‘filename’ from the current directory to /opt/vsites.  The username must have permissions to do this on the remote computer.

scp filename . . . → Read More: How to Copy a File To and From a Remote Server Using SCP

How to Force A Centos 5.2 Server to Reboot

For some reason when I try and reboot a VPS I get the following error message.

 reboot

Broadcast message from root (pts/6) (Fri Dec 19 02:00:54

The system is going down for reboot NOW!

shutdown: /dev/initctl: No such file or directory

init: /dev/initctl: No such file or directory

You can force a reboot by . . . → Read More: How to Force A Centos 5.2 Server to Reboot

How To Create a Tar Archive of a Directory

 

Tar stands for Tape Archive and is used to compress files or whole directories.

Examples;

tar -cvf mytarfile.tar mydir/

tar cf archive.tar *

tar -cvzf name.tgz subdir

where subdir is the name of the subdirectory you want to save. To continue the example, this command would be:

tar -cvzf rainpics.tgz pics

Doen’t matter . . . → Read More: How To Create a Tar Archive of a Directory