Skip to content

Commit 6f5499a

Browse files
committed
cli Date
1 parent 49c551a commit 6f5499a

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

data/cli/other/index.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,22 @@
11
[lists of official GNU packages](http://www.gnu.org/manual/manual.html)
22

3+
## Date
4+
```bash
5+
date
6+
# Sun Aug 27 08:58:55 UTC 2023
7+
date "+%x -- %X"
8+
# 08/27/23 -- 08:58:55
9+
date "+%x"
10+
# 08/27/23
11+
date "+%T"
12+
# 08:58:55
13+
date "+%X"
14+
# 08:58:55
15+
date "+%H -- %M -- %S"
16+
# 08 -- 58 -- 55
17+
```
18+
19+
320
## System Logs
421
```bash
522
cat /var/log/syslog | tail -n 30

0 commit comments

Comments
 (0)