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
nginx Nginx (engine x) is a high-performance HTTP...
Before, I had built WordPress myself, but at that...
When I was helping someone adjust the code today,...
MySQL master-slave configuration and principle, f...
1. Environmental Preparation 1.MySQL installation...
1. Click the server host and click "Virtual ...
Form submission code 1. Source code analysis <...
1. Project Structure 2.CallTomcat.java package co...
Blank's blog: http://www.planabc.net/ The use...
This article shares the specific code of the vue-...
For example: <u> This has no ending characte...
When making a web page, if you want to use a spec...
As shown in the figure below, it is a common desi...
Table of contents Implementing a search engine ba...
Preface Application scenario: probably the intern...