Two-way conversion of Unix time (seconds since 1970) and regular time

I found using of Unix time to be very useful in various shell scripts and here are two simple commands to convert Unix/Linux date command to Unix time format and back to regular formating: To convert Unix time to simple (regular) time please use: date -u –date=”1970-01-01 1187769064 sec GMT” where 1187769064 is input Unix time. The output will be: Wed Aug 22 07:51:04 UTC 2007 To get Unix time […]

Read more →

 

Linux and Unix fmt utility as a simple text formatter

fmt utility is a part of GNU core utilities and allows to reformat paragraph text writing to standard output. It also can read input from stdin. Usage example: Let’s assume you have big one-line text file (all words are placed in one single line and there are no returns characters there at all). In order to format this file with fmt just execute fmt /path/to/file and you’ll get 72 characters […]

Read more →

 

Keep files at Linux/Windows/Unix synchronized with Unison

Unison is a file-synchronization tool for Unix and Windows. It allows two replicas of a collection of files and directories to be stored on different hosts (or different disks on the same host), modified separately, and then brought up to date by propagating the changes in each replica to the other. Unison that is available for Linux, Unix and Windows, shares a number of features with tools such as CVS, […]

Read more →

 

Keep contacts and calendar/datebook of Motorola Razr V3 saved

Some time ago I wrote about syncing mobile phone contacts and calendar with online service ZYB. Today I’d like to share my experience of Motorola Razr V3 sync by means of this free service. I’d like to mention that advantage of this method is that it doesn’t matter what operating system you use, it can be Linux, Apple Mac or even M$ Window$. All operations are done with any browser […]

Read more →

 

EV-DO Internet access with Ubuntu Linux

The following manual is applicable for 32bit Ubuntu 6.10 (Edgy Eft) and 7.04 (Feisty Fawn) and Verizon Motorola v3 EV-DO enabled phone connected via USB cable as well as number of other EV-DO cards like PC5750. Make sure your device is activated by service provider and if possible test on other OS to which you may have software and drivers. Open terminal window and type: sudo -i and enter your […]

Read more →