Tag:
convert

Convert a relative path to absolute path in BASH

by
on
October 1, 2010

There are a few ways to take a relative path and convert it to an absolute path which can be accessed regardless of the current working directory. The easiest method is to use the readlink utility which comes bundled with about every distribution. Here my working directory is my home directory. It is printed as [...]

Read More
No Comments
bash

Convert PDF file to text with pdftotext

by
on
September 9, 2010

In many cases it can be helpful to access text from within a PDF file but accomplishing this can be next to impossible. Luckily in Linux there is a command line program called pdftotext which is included with the xpdf package. This first step is making sure that the xpdf package is installed. In Ubuntu [...]

Read More
No Comments
commands

Convert text files within a directory from Windows to Unix format

by
on
January 7, 2009

When a file is saved in Windows and then moved to a Linux system the formatting differences can cause a variety of problems. To effectively use these files you will need to change the format from Windows/DOS to Unix. This conversion occurs by simply removing the Windows carriage return characters. I have explained how to [...]

Read More
1 Comment
bash
Copyright 2008-2010 WiredRevolution.com. All rights reserved.