Main menu
BASH Shell
Troubleshooting
Nginx
Networking
MySQL
Google Cloud Platform
Amazon Cloud Computing
Rackspace Cloud Computing
Linux
CentOS
Debian / Ubuntu
Ubuntu Linux
Suse
RedHat and Friends
Slackware Linux
UNIX
AIX
Mac OS X
FreeBSD
FreeBSD Jails (VPS)
Openbsd
Solaris
See all tutorial topics
Blog
About
Contact us
Forum
RSS/FEED
Linux FAQ / Howtos
date +”%T”
HowTo: Get Current Time In Shell Script
by
nixCraft
on
May 25, 2009
·
2 comments
H
ow do I get the current server time in shell script on Linux or Unix-like operating systems? How do I store the current time in the shell variable and use in my scripts?
{
2
comments
}
GET FREE LINUX TIPS
Sign up for our newsletter to get howto & news
Loading