摘要: 方法1: cat test1.py #!/usr/bin/python3import timewhile True: print('test!') time.sleep(2) 在 ssh 中执行 sudo nohup ./test1.py 然后输入sudo密码验证获取权限, 此时 脚本test1.p 阅读全文
posted @ 2023-10-15 01:43 fangpinz 阅读(59) 评论(0) 推荐(0)