修改centos history记录数上限

摘要:
修改/etc/profile[root@5201351~]#sed-i的/^HISTSIZE=1000/HISTSIIZ=200/'/etc/profile[root@5201351~]#源/etc/profile

修改/etc/profile

[root@5201351 ~]# sed -i 's/^HISTSIZE=1000/HISTSIZE=200/' /etc/profile
[root@5201351 ~]# source /etc/profile

免责声明:文章转载自《修改centos history记录数上限》仅用于学习参考。如对内容有疑问,请及时联系本站处理。

上篇【IOS】解决tabBar隐藏与显现 hidesBottomBarWhenPushed问题UIPath RPA 自动化脚本 机器人从入门到精通下篇

宿迁高防,2C2G15M,22元/月;香港BGP,2C5G5M,25元/月 雨云优惠码:MjYwNzM=

相关文章

CentOS7上使用history删除部分历史记录

使用history命令删除本次登录后做过的历史记录,但是保留原始的记录。首先使用help history,命令查看帮助文档: [root@10 ~]# help history history: history [-c] [-d 偏移量] [n] 或 history -anrw [文件名] 或 history -ps 参数 [参数...] 显示或操纵历史列...

vue 记录 mode:history 模式 踩过的坑

先上官网文档地址 https://router.vuejs.org/zh/guide/essentials/history-mode.html 由于公司内容原因没有https的测试域名 所以在正式接口后加了个、/t/  eg:https:xxxx.com  测试接口域名====>https:xxxx.com/t 1.需要在路由文件  router /...

Linux的删除history的方法

Linux的删除history的方法 history --help 查看历史的命令 history 查看最后15行 history | tail -n 15 重新执行第number条命令 !numeber 其余的我不想介绍。我只介绍如何删除history记录 删除当前会话的历史记录 history -c 这种删除只会删除当前会话的历史记录,下次用xshe...

JENKINS 打包发布脚本

#!/bin/bash #nohup bash check_new_pkgs_dev.sh & #steps below: ##发布的机器上运行这个脚本 #定时遍历发布包存放路径 #1.遍历所有要发布的包 #2.对于每一个包,找到这个包的时候,停止相应的服务 #3.将deployed下面相应的已发布目录归档到history中 #4.将压缩包解...

HistoryServer的原理详解

本文介绍了YARN中historyServer的原理和配置 HistoryServer的原理简介 下图展示了historyServer的数据流向图. 解释: 1. NodeManager在启动的时候会初始化LogAggregationService服务, 该服务会在把本机执行的container log (在container结束的时候)收集并存放到hd...

sqlserver添加主键

sqlServer中给表添加主键的sql: alter table market_media_medical_history alter column pk_id bigint not null; alter table market_media_medical_history add constraint PK_market_media_medical_...