![](https://img-blog.csdnimg.cn/20201014180756916.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
linux
ycr20120916
菜鸟一枚
展开
-
nfs相关命令
--查看软连接find /opt/pay_tomcat -type l|xargs ls -l--查看无效软连接find . -type l -print |xargs lsattr -d 2>&1|grep "No such file or directory"| awk '{print $11}'--创建软连接ln -s /home/ /opt/pay_t原创 2015-01-15 15:35:15 · 218 阅读 · 0 评论 -
linux下oracle常用命令
--登陆oraclesqlplus / as sysdba--查看oracle版本select version from v$instance;--启动数据库startup--停止数据库shutdown immediate--检查Oracle DB监听器是否正常lsnrctl status--启动监听器lsnrct原创 2015-01-15 15:30:46 · 270 阅读 · 0 评论 -
linux常用命令
--删除文件夹实例:rm -rf /var/log/httpd/access将会删除/var/log/httpd/access目录以及其下所有文件、文件夹--删除文件使用实例:rm -f /var/log/httpd/access.log将会强制删除/var/log/httpd/access.log这个文件CP命令格式: CP [选项] 源文件或目录 目原创 2015-01-15 15:33:25 · 172 阅读 · 0 评论