date 使用介绍 linux linux shell date 发布时间: 2014-03-09 更新时间: 2023-03-26 总字数:39 阅读时间:1m 作者: 谢先斌 分享 复制网址 shell打印日期。 日期 格式一 #!/bin/sh function date_format(){ echo "`date "+%Y-%m-%d %H:%M:%S"` [$0]" } echo "`date_format` ok" 输出: 2016-11-06 14:38:14 ok 格式二 date +%s 1568429300 linux linux shell date 上一页:解决<compilation debug="true" targetFramework="4.0"> 问题 下一页:Python 开发过程中一些基础点汇总 最近更新 Dapr 介绍 Juicefs 使用 vcluster k8s 多租户虚拟集群方案 Sanic Python Web 框架介绍 OpenEBS k8s PVC 服务安装部署 OpenELB:云原生负载均衡器插件 ChatGPT 介绍 OpenAI 介绍 Lua 库 Lua 模块 相关文章 IP地址0.0.0.0是什么意思 Linux 中个目录说明 init Linux 启动级别:0,1,2,3,4,5,6 Apache httpd 安装使用总结 配置动态路由RIP 静态路由器配置 动态路由的配置 最新评论 加载中...