SFTP at the command line interface

Here are some helpful options when using FTP at the command line interface: Connecting to a server sftp user@domain To use a different port sftp -oPort=999 user@domain Uploading a file put file.ext Downloading a file…

Starting VirtualBox as a headless server

nohup VBoxHeadless –startvm <guestvmname> & Explanation: nohup – (NoHangups) Keep the process running, even when the terminal is closed <guestvmname> – the name of the VM you wish to start & – run the process…

Burning an ISO to CD at the CLI

Often, I want to bypass firing up a GUI application to burn a simple ISO on a CD. To scan devices: cdrecord -scanbus You’ll get an output like this: cdrecord -scanbus scsibus0: 0,0,0 0) *…

SMTP via telnet

You can easily test a server’s SMTP connection via the command line using telnet. Encoding using base64 If the SMTP server requires authentication, you’ll have to encode the username and password using base64. To encode,…

Blocking an IP Address

To quickly block an IP, just execute the following (where 1.2.3.4 would be the IP you want to block): # route add 1.2.3.4 127.0.0.1 All ACKs to 1.2.3.4 would not be able to reach their…

fstab and UUID

Recently, I added a USB removable hard drive I added to my primary desktop. To make it simple to mount, I added a line in my /etc/fstab with the appropriate sdx device which I determined…

going minimal

After several years of being a devoted KDE/beryl user, I’ve decided to go minimalist, specifically at work and on my laptop. The reasoning? Primary my work computer keeps causing me problems. After several hours it…