[root@gao ~]# pwd
/root
[root@gao ~]# cat .bashrc
# .bashrc
# User specific aliases and functions
alias rm='rm -i'
alias cp='cp -i'
alias mv='mv -i'
# Source global definitions
if [ -f /etc/bashrc ]; then
. /etc/bashrc
fi
#======================================
read -p "Input your name: " name
if [ $name == "xiaoming" ];then
echo "Hello xiaoming"
date=`date`
echo "$name $date" > /root/login.txt
else
exit
fi
#======================================
关键词标签:linux,系统安全
相关阅读
热门文章 网络安全管理软件-PCHunter使用教程虚拟主机中ASPX一些安全设置“和谐”内网保护神——ProVisa内网安全管理Discuz!配置文件中的安全设置
人气排行 xp系统关闭445端口方法_ 教你如何关闭xp系统445端口网络安全管理软件-PCHunter使用教程企业网络安全事件应急响应方案什么是IPS(入侵防御系统)linux iptables如何封IP段腾讯QQ密码防盗十大建议隐藏ip地址增加网络信息的安全性Windows Server 2008利用组策略的安全设置
查看所有0条评论>>