Category: Ubuntu

Feb 13

BSD General Commands Manual: SCP

SCP(1) BSD General Commands Manual SCP(1) NAME         scp — secure copy (remote file copy program) SYNOPSIS         scp [-12346BCpqrv] [-c cipher] [-F ssh_config] [-i identity_file] [-l limit] [-o ssh_option] [-P port] [-S program] [[[email protected]]host1:]file1 … [[[email protected]]host2:]file2 DESCRIPTION         scp copies files between hosts on a …

Continue reading

Jan 17

How to: Install Security Updates from the command line in Ubuntu

How to: Install Security Updates from the command line in Ubuntu Lately as I log in to an Ubuntu box I get messages indicating that there are security updates available for Ubuntu but I have struggled to get them installed. 13 packages can be updated. 13 updates are security updates. Traditional one would use apt-get update; …

Continue reading

Dec 21

How to: Determine your Memory Usage & Free Memory in Ubuntu

How to: Determine your Memory Usage & Free Memory in Ubuntu One thing I have discovered with Ubuntu is that there is more than one way to skin a cat. All won’t yield the same result but you can achieve similar things through different approaches. Finding out how much memory you have used, how much …

Continue reading

Dec 21

How to: Connect to a Remote File System with Nautilus using SSH

How to: Connect to a Remote File System with Nautilus using SSH Nautilus supports connecting to a remote file system using an SSH connection. Before there used to be clear instructions but now it all has gone away with a more simple interface that has left some users confused. But fear not, all you have …

Continue reading

Dec 21

How to: Shutdown or Restart an Ubuntu Server via SSH

How to: Shutdown or Restart an Ubuntu Server via SSH If you want to remotely restart or shutdown an Ubuntu Server when connected via SSH you simply need to know the following commands (and use them of course): sudo shutdown and sudo reboot   As always the accompanying man pages are a great resource:   Man …

Continue reading

Dec 21

Ubuntu: Basics of software repositories

Ubuntu: Basics of software repositories Ubuntu uses apt for package management. Apt stores a list of repositories or software channels in the file /etc/apt/sources.list This is important to note as if you want to add sources for software packages you are going to either edit this file or add a referenced source file in the same format. …

Continue reading

Dec 21

pgp – Not enough random bytes available. Please do some other work to give the OS a chance to collect more

pgp – Not enough random bytes available. Please do some other work to give the OS a chance to collect more I was working on getting a private key in order to sign a PPA and upload it to Launchpad. However, when I ran gpg –gen-key the server kept asking me to give it more entropy: …

Continue reading

Dec 15

How to: Find a file in Ubuntu using complex criteria (or not)

How to: Find a file in Ubuntu using complex criteria  (or not) Sometimes you need to find a file and all you know is the extension or the beginning of the file name. A powerful flexible search to look in all sub directories for files that match a criteria is important. Ubuntu comes with such a command …

Continue reading

Dec 15

Useful Ubuntu Service commands

Useful Ubuntu Service commands Ubuntu daemons/services/etc. have a few commonalities that are worth knowing when working with them. For example, from what I have read there is a way to reload the configuration changes without having to stop/start a service but I haven’t fully tested that yet. Below are a few command and things worth …

Continue reading

Dec 14

How to: Build your own version of NginX

How to: Build your own version of NginX I was following a tutorial on how to use NginX with WordPress and the NginX Fast CGI cache caught my interest. The only problem is that in order to NginX to purge the cached version it needs a custom third party module that does not come out …

Continue reading

Load more