Ubuntu中文论坛
致力于Ubuntu中文推广
http://forum.ubuntu.com.cn/
时间问题
http://forum.ubuntu.com.cn/viewtopic.php?t=293089
分页:
1
/
1
时间问题
发表于 :
2010-09-12 10:33
由
liucheng1513
[root@localhost ~]# ls -l|awk '{print $8}'
12:48
12:50
12:48
12:48
00:31
10:21
如何修改能只打印时不打印分,如下效果
12
12
12
12
00
10
Re: 时间问题
发表于 :
2010-09-12 11:12
由
leeaman
似乎很简单,不过我不会~~~
Re: 时间问题
发表于 :
2010-09-12 13:18
由
trigger
ls -l |tr -s ' '|cut -f 8 -d" "|cut -f 1 -d":"