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 [...]
Open rar files in OSX
There are a couple of ways of opening .rar files in your Mac, this post though will use the command line way to do it. You will need to have installed either MacPorts or DarwinPorts to follow this exercise because we will get the unrar utility from the ports collection. $ sudo ports install unrar [...]
OCS inventory agent in Ubuntu
Once you have installed the OCS Inventory server, you will need to install the agent portion of the solution on individual workstations. The way to do it in Ubuntu (or Debian or Mint) $ sudo apt-get install ocsinventory-agent You will be asked to choose whether you would like to install the ocsinventory-agent as either ‘local’ [...]
Convert PDF to html
Extracting data from PDF files has inspired lots of companies and developers to write lots of software to do just that–a lot of these software are commercial, some are free. This post looks at a free software which translates PDF documents to html format, it can even extract the images within PDF. PdfToHTML is available [...]
Putting a software inventory management system in place
Test installing the OCS NG inventory management system right now. The bullet points on the home page of OCS NG website is quite catchy. Do you know all the devices connected to your IT network? – [Yes, but the list needed to kept up to date manually, using the fixed assets inventory report] Do you [...]
To display the routing table in OSX
There is a ‘route’ command in OSX for the manipulation of the network routing tables–surprisingly, it doesn’t have a ‘route print’ option. If you’re used to viewing the routing table (from Windows) using the route print command, that option does not exist in OSX. In order to display the routing table in OSX, you can [...]
Older Posts »