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
CSS background image flickering bug in IE6 (backg...
MySQL Views Simply put, a MySQL view is a shortcu...
nohup command: If you are running a process and y...
MySQL 5.7.18 installation and problem summary. I ...
mysql storage engine: The MySQL server adopts a m...
Table of contents Mixin Mixin Note (duplicate nam...
Preface: I encountered a requirement to extract s...
Clickhouse Introduction ClickHouse is a column-or...
My97DatePicker is a very flexible and easy-to-use...
Last night, I was looking at an interview question...
I won't go into details about how important b...
Detailed example of MySQL exchange partition Pref...
Preface: This article only introduces the steps t...
1. Use the <a> tag to complete <a href=&...
Since I installed the official version of IE8.0, ...