current date

UNIX / Linux: Increment The Date

by Vivek Gite on April 26, 2011 · 1 comment

I want to increment the date under UNIX or Linux operating system while writing shell scripts. For example Apr/27/2011 should be incremented as Apr/28/2011 and so on. How do I increment a date in UNIX or Linux shell?

{ 1 comment }

Linux / UNIX: TZ Environment Variable

by Vivek Gite on January 29, 2011 · 0 comments

What is the correct format for a TZ (time zone) environment variable for use with the Linux or UNIX operating system?

{ 0 comments }

Bash Infinite Loop Examples

by Vivek Gite on January 20, 2011 · 2 comments

How do I write an infinite loop in Bash script under Linux or UNIX like operating systems?

{ 2 comments }

VI / VIM: Insert Current Date / Time

by Vivek Gite on November 17, 2010 · 1 comment

How do I display and insert current date and/or time under vi or VIM text editor?

{ 1 comment }

How do I execute a script under UNIX or Linux like operating system using command prompt?

{ 0 comments }

How do I append current date (mm_dd_yyyy format) to a filename (e.g., backup_mm_dd_yyyy.sql) under UNIX like operating systems?

{ 0 comments }

Bash: Display Current Date

by Vivek Gite on December 6, 2009 · 0 comments

How do I display the current date under Bash UNIX / Linux / OS X shell?

{ 0 comments }