
Linux
visual2015
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
shell脚本示例,复制名为dir1和dir2的目录下所有的文件到名为dir3的新目录
#! /bin/shif [ $# -eq 3 ]then dir1=$1 dir2=$2 dir3=$3 if [ -d $dir1 -a -d $dir2 ] then if [ -d $dir3 ] then echo "$dir3 already exits" exit else cp -r -p $dir1 $dir3 echo -e...原创 2018-02-26 14:43:40 · 2310 阅读 · 0 评论 -
shell脚本示例,运行无限循环的shell脚本来检测拒绝列表上的用户是否登录到UNIX系统多于一次。
#! /bin/shwhile truedo who | cut -d " " -f1 | sort> old.txt sleep 3 who | cut -d " " -f1 | sort> new.txt comm old.txt new.txt -2 -3 >> logOneTime.txt comm old.txt new.txt -1 -3 ...原创 2018-02-26 14:54:04 · 659 阅读 · 0 评论 -
shell脚本示例,维护员工记录文件
#! /bin/sh# To display Menu information#function displayMenu(){ echo "" echo "Dominion Consulting Employees Info Main Menu" echo "============================================" echo "1 – Print ...原创 2018-02-26 14:58:02 · 519 阅读 · 0 评论 -
CentOS安装 netdata 实时监视 Linux 系统性能
作为一个 Linux 系统的管理员,为了随时了解系统资源的占用情况,有必要使用专门的系统监视工具。如果你需要对 Linux 系统、应用程序、SNMP 设备进行实时的性能监视,那么 netdata 这个工具将是你的好帮手。它的 web 前端响应很快,而且不需要 Flash 插件。 UI 很整洁,保持着 Netdata 应有的特性。第一眼看上去,你能够看到很多图表,幸运的是绝大多数常用的图表数据(像 ...转载 2018-03-16 21:25:31 · 321 阅读 · 0 评论 -
mr-jobhistory-daemon.sh 启动和关闭脚本
通过web查看job的运行情况,当job运行完之后,就无法查看,这是由于集群的historyserver 进程没有启动。因此需要手动启动。 Hadoop启动jobhistoryserver来实现web查看作业的历史运行情况,由于在启动hdfs和Yarn进程之后,jobhistoryserver进程并没有启动,需要手动启动,启动的方法是通过:mr-jobhistory-daemo...原创 2018-04-01 17:10:34 · 2922 阅读 · 0 评论 -
解决 linux 的 bash:vi:command not find
原文地址:https://blog.youkuaiyun.com/zhouhao88410234/article/details/74177725转载 2018-05-30 17:02:39 · 1494 阅读 · 0 评论 -
Linux基本操作命令记录
ubuntu ssh无法连接ufw statusufw disablelinux或者ubuntu下oracle 11G的完全卸载https://blog.youkuaiyun.com/whbing1471/article/details/52091414安装参考https://blog.youkuaiyun.com/sinat_32998977/article/details/79437014...原创 2018-07-19 18:06:11 · 261 阅读 · 0 评论