How to print from the command line
$ lpstat -a lpstat is used to print the CUPS (Common UniX Printing Service) status info. The command lpstat -a tells you all the installed printers in your system, specifically, it will tell you the printer names–which you will need for the lp command. How to batch print from a command line $ lp -d [...]
Change date setting in Ubuntu server using NTP
This is a shell activity, I’m assuming you did not put GUI in your Ubuntu server and that it is tucked away–headless (no keyboard no monitor)–somewhere in your home office, and you know how to login to your Ubuntu server via SSH. Synchronizing the Ubuntu box to an NTP server Network Time protocol can be [...]
Forgot the Linux root password
A bit of disclaimer—use the information in this guide at your own risk, the information in this guide should only be used to recover passwords from machines to which you have legitimate access. your screen might look something like this picture, if you have GRUB What you need to do is to boot in single [...]
Install git on Ubuntu Jaunty Jackalope
Looking at the forums for installing git on Linux, there seems to be some issues on getting the latest version of git, but the entries were bit dated. A quick install of git on an Ubuntu test server should settle that question. $ sudo apt-get install git-core Of course if you are root, you don’t [...]
Samsung CLP-315 on Ubuntu Server 9.04, Jaunty Jackalope
The procedures for Installing CLP-315 on Debian Lenny did not work when I installed CLP-315 to an Ubuntu 9.04 server (Jaunty), after a few minutes of uploading ‘rastertosamsungsplc’ to /usr/lib/cups/filter and tweaking the permissions–still, not working. The mishap of this installation starts when you are about to add a printer using the CUPS administration page [...]
How to tell which Ubuntu version you have
If you’re revisiting some old servers you’ve played around before, or maybe installed and forgot about it, you may not remember the exact distribution name. Sure you can uname -a then get the kernel version from there then google it up which distro has that kernel version; or just use $ lsb_release -a lsb_release is [...]
Older Posts »