Xshell 5 (Build 0752)
Copyright © 2002-2015 NetSarang Computer, Inc. All rights reserved.
Type `help’ to learn how to use Xshell prompt.
[c:~]$
Connecting to 192.168.1.100:22…
Connection established.
To escape to local shell, press ‘Ctrl+Alt+]’.
Last login: Sat Jun 10 16:25:00 2023 from 192.168.1.1
[root@hadoop100 ~]# crontab -r
no crontab for root
[root@hadoop100 ~]# crontab -l
no crontab for root
[root@hadoop100 ~]# touch bai.txt
[root@hadoop100 ~]# clear
[root@hadoop100 ~]# crontab -e
no crontab for root - using an empty one
crontab: installing new crontab
[root@hadoop100 ~]# crontab -l
*/1 * * * * echo “11”>>/root/bai.txt
[root@hadoop100 ~]# cat bai.txt
11
11
[root@hadoop100 ~]# cat bai.txt
11
11
11
11
11
11
11
11
11
[root@hadoop100 ~]# crontab -r
[root@hadoop100 ~]# crontab -l
no crontab for root
[root@hadoop100 ~]#