Archive

Posts Tagged ‘command’

How to display contents of file in Ubuntu terminal

February 20th, 2011

I always forget how to do this so I’m putting it here for my own reminder.

When you are on Ubuntu’s terminal or shell, this is the command on how to display the contents of a file in Ubuntu:

$ cat file.txt

Pretty easy huh!

Author: Cyril Pauya Categories: how-to Tags: , ,

Screen your way on Ubuntu Linux

October 31st, 2010

We have plenty of experience deploying Django applications to remote servers, mostly on Webfaction. But the latest server we deployed to was a Debian Lenny VPS server. Since Ubuntu was of a Debian family, it’s been quite easy. The problem is if you have a reliable internet connection to the server half-way around the globe.

I’m on a mobile broadband internet connection since we moved to Davao City. That means I got an unreliable internet connection. So typing “tail -f /var/log/apache2/error.log” would take a few seconds to echo on your shell. Now imagine having to type that every time you make changes to your Apache configuration files?
Read more…