Kompai Paskaitos

date – getting time to your needs

hello, how to get time to see what time is now in linux command prompt? simply: $ date Mon May 10 15:56:05 EEST 2010 But i need with no spaces and colons… i use all mighty sed 🙂 $ date | sed ‘s/\ /_/g’ | sed ‘s/:/-/g’ Mon_May_10_15-56-31_EEST_2010 Hurray!?! No! I still need something else: […]