As shown below: The test command determines whether a file exists: ssh usrname@remotehost "test -e remote_file_path" The stat command gets the timestamp of when a file was last modified: ssh usrname@remotehost "stat -c %Y remote_file_path" The above method of checking the remote server file status in Linux is all the content that the editor shares with you. I hope it can give you a reference. I also hope that you will support 123WORDPRESS.COM. You may also be interested in:
|
<<: How to fix abnormal startup of mysql5.7.21
>>: mysql5.7.22 download process diagram
The principle of uploading pictures on the front ...
1. Command Introduction The file command is used ...
Implementing process analysis (1) How to call rep...
Copy code The code is as follows: <form method...
The following error message appears when installi...
Installation sequence rpm -ivh mysql-community-co...
HTML: Title Heading is defined by tags such as &l...
First: Start and stop the mysql service net stop ...
So-called talent (left brain and right brain) Tha...
background On mobile devices, caching between pag...
Table of contents In JavaScript , there are sever...
This blog is a work note environment: nginx versi...
This article mainly introduces how to call desktop...
7 ways to implement a two-column layout with fixe...
Table of contents What is MVCC MVCC Implementatio...