[Linux]常用命令

    xiaoxiao2021-03-25  96

    重定向历史记录

    # HISTFILE=/dev/null # export HISTSIZE=0 # history

    查看启动信息

    # last -x | grep boot

    查看共享库依赖

    # ldd elffile # readelf -d elffile | grep shared

    查看进程

    # ps -aux # ps -A -o pid,stime,etime,args

    修改文件信息

    # touch -m -d “2015-05-13 11:11:11” filename # touch -a -d “2015-05-13 11:11:11” filename # touch -acmr dstfile srcfile

    转载请注明原文地址: https://ju.6miu.com/read-22541.html

    最新回复(0)