Difference between revisions of "Touch -c"
Jump to navigation
Jump to search
Line 4: | Line 4: | ||
+ | |||
+ | [[/usr/lib/php/sessionclean (shell script)]] | ||
* <code> [[find]] "[[/proc/]]$pid/fd" -[[ignore_readdir_race]] [[-lname]] "$save_path/sess_*" -exec [[touch -c]] {} \</code> | * <code> [[find]] "[[/proc/]]$pid/fd" -[[ignore_readdir_race]] [[-lname]] "$save_path/sess_*" -exec [[touch -c]] {} \</code> | ||
Revision as of 14:50, 13 April 2021
-c, --no-create do not create any files
/usr/lib/php/sessionclean (shell script)
find "/proc/$pid/fd" -ignore_readdir_race -lname "$save_path/sess_*" -exec touch -c {} \
See also
Advertising: