文件操作 - less.csh
返回文件管理
返回主菜单
删除本文件
文件: /etc/profile.d/less.csh
编辑文件内容
# less initialization script (csh) # All less.*sh files should have the same semantics! # In case you are curious, the test for non-emptiness is not as easy as in # Bourne shell. This "eval" construct is probably inspired by Stack # Overflow question 13343392. if ( $?LESSOPEN && { eval 'test ! -z "$LESSOPEN"' } ) then : else if ( -x /usr/bin/lesspipe.sh ) then # The '||' here is intentional, see rhbz#1254837. setenv LESSOPEN "||/usr/bin/lesspipe.sh %s" endif endif
修改文件时间
将文件时间修改为当前时间的前一年
删除文件