Remove all old installed but unused kernels

I just noticed I had 8 kernels installed on a machine. dont need but one…. so I rebooted to make sure I was using the newest, and removed all the old ones via these simple commands :   Ubuntu / Debian / dpkg / Apt:

Thats a one liner, so just copy paste the […]

secure copy ( SCP ) howto 102

Secure Copy (SCP) provides a secure and authenticated method for copying files between hosts. SCP relies on Secure Shell (SSH). Copy the file “somefile.txt” from a remote host to the local host

Copy the file “somefile.txt” from the local host to a remote host scp somefile.txt [email protected]:/some/remote/directory Copy the directory “somedir” from the local […]

Linux CLI Tarball extraction

Need to extract a bzip2 or gzip file? well here’s how to do it  :   Bzip2 in the file.bz2 format : bunzip2 file.bz2 a tar file with bzip2 compression : tar xjvf file.tar.bz2 A tar file with no compression : tar xvf file.tar A tar file with Gzip compression : tar zxvf file.tar.gz tar […]

Screen start issues

Screen is a tool that allows users to resume a session after they have disconnected. Screen prevents a session from “timing out” or disconnecting SSH connections or local terminal emulators. A single Screen session has the ability to host multiple sessions or “windows.” I just spun up a new ubuntu 12.04 VPS and installed some […]