当前位置: 首页 > news >正文

网站推广优化哪家正规小说网页网站建设

网站推广优化哪家正规,小说网页网站建设,企业网站分析,景区网站建设方案 费用linux命令之history 1.history介绍 linux命令history会记录并显示用户所执行过的所有命令#xff0c;也可以对其命令进行修改和删除操作。 2.history用法 history [参数] history参数 参数说明-a将当前会话的历史信息追加到历史文件(.bash_history)中-c删除所有条目从而清…linux命令之history 1.history介绍 linux命令history会记录并显示用户所执行过的所有命令也可以对其命令进行修改和删除操作。 2.history用法 history [参数] history参数 参数说明-a将当前会话的历史信息追加到历史文件(.bash_history)中-c删除所有条目从而清空历史列表-d从指定位置删除历史列表-r读取历史文件(.bash_history)到缓冲区-s将指定的命令添加到缓冲区-w将缓冲区信息写入到历史文件(.bash_history) 3.实例 3.1.将当前会话的历史信息追加到历史文件(.bash_history)中 命令 history -a [rootcentos79-3 ~]# ping 1.1.1.1 PING 1.1.1.1 (1.1.1.1) 56(84) bytes of data. 64 bytes from 1.1.1.1: icmp_seq1 ttl128 time247 ms 64 bytes from 1.1.1.1: icmp_seq2 ttl128 time361 ms ^C --- 1.1.1.1 ping statistics --- 2 packets transmitted, 2 received, 0% packet loss, time 1014ms rtt min/avg/max/mdev 247.939/304.742/361.545/56.803 ms [rootcentos79-3 ~]# ping 2.2.2.2 PING 2.2.2.2 (2.2.2.2) 56(84) bytes of data. ^C --- 2.2.2.2 ping statistics --- 3 packets transmitted, 0 received, 100% packet loss, time 2007ms[rootcentos79-3 ~]# history -a [rootcentos79-3 ~]# tail -f .bash_history #1695879396 cat .bash_history #1695879406 clear #1695879409 ping 1.1.1.1 #1695879414 ping 2.2.2.2 #1695879420 history -a [rootcentos79-3 ~]# 3.2.从指定位置删除历史列表 命令 history -d 3 [rootcentos79-3 ~]# history | grep 12891289 2023-09-28 13:54:07 root set o history1313 2023-09-28 14:05:36 root history | grep 1289 [rootcentos79-3 ~]# history -d 1289 [rootcentos79-3 ~]# history | grep 12891289 2023-09-28 13:55:16 root history1312 2023-09-28 14:05:36 root history | grep 12891313 2023-09-28 14:05:46 root history -d 12891314 2023-09-28 14:05:50 root history | grep 1289 [rootcentos79-3 ~]# 3.3.删除所有条目从而清空历史列表 命令 history -c [rootcentos79-3 ~]# history -c [rootcentos79-3 ~]# 3.4.读取历史文件(.bash_history)到缓冲区 命令 history -r [rootcentos79-3 ~]# history -r [rootcentos79-3 ~]# tail -n 4 .bash_history #1695879420 history -a #1695879044 ifconfig [rootcentos79-3 ~]# 3.5.将缓冲区信息写入到历史文件(.bash_history) 命令 history -w [rootcentos79-3 ~]# history -w [rootcentos79-3 ~]# tail -n 4 .bash_history #1695880068 clear #1695880071 history -w [rootcentos79-3 ~]# 3.6.不记录已执行的历史命令 命令 set o history [rootcentos79-3 ~]# set o history [rootcentos79-3 ~]# ping 111.111.111.111 PING 111.111.111.111 (111.111.111.111) 56(84) bytes of data. ^C --- 111.111.111.111 ping statistics --- 3 packets transmitted, 0 received, 100% packet loss, time 2021ms [rootcentos79-3 ~]# tail -n 1 .bash_history set o history [rootcentos79-3 ~]# 3.7.取消不记录已执行的历史命令 命令 set -o history [rootcentos79-3 ~]# history | tail -n 61302 2023-09-28 13:55:10 root ping 16.16.16.161303 2023-09-28 13:55:16 root history1304 2023-09-28 13:55:28 root cat .bash_history 1305 2023-09-28 13:55:42 root history1306 2023-09-28 13:55:51 root history | tail -n 41307 2023-09-28 13:55:58 root history | tail -n 6 [rootcentos79-3 ~]# 另外 再次执行历史记录命令的三种方式 第一个方式是!数字 第二个方式是 ctrlr 快捷键从小往上搜索右方向键确定 第三个方式是 !字符串
http://www.dnsts.com.cn/news/254935.html

相关文章:

  • 17网站一起做网店不发货一键免费生成网页的网站
  • 大连小型网站建设做编程的 网站有哪些内容
  • 济南网站建设用途装修网站免费设计
  • 校园安全网站建设app上架应用市场需要多少费用
  • 站外推广平台有哪些wordpress插件 二次开放
  • 商城网站建设代理商青海百度关键词seo
  • 网上买保险网站文化建设的重要性和意义
  • 邯郸做网站找谁电影网页设计
  • 咋做网站建设部网站如何登录监理工程师
  • 手机记事本做网站做网站收会员费违法吗
  • 沈阳模板建站定制企业网站源码 一品资源网
  • 工信部备案查询网官网seo博客网站怎么做
  • 济南建站哪家好六年级上册数学优化设计答案
  • 哪些网站可以做平面设计挣钱wordpress菜单栏下拉
  • aspx 网站开发工具徐州市做网站
  • 横店影视城网站建设好口碑自适应网站建设
  • 网络建站招聘新中建设公司招聘网站
  • 网站建设发专业人才培养方案网络营销的方式都有哪些
  • 网站访问量怎么赚钱海门建网站公司
  • 长沙手机网站建设哪些哈尔滨网站建设公司哪家好
  • 泰州网站优化公司收录网址
  • 广西建设职业技术学院贫困生网站尉氏网站建设
  • 招聘网站如何做薪酬报告临沂网站建设临沂
  • 成都企业网站排名优化品牌型网站建设哪家
  • 建设银行鹤岗分行网站中级经济师考试时间
  • 做手表网站用什么源码比较好深圳电子商城网站建设
  • 怎么在网站视频做字幕赣州建设企业网站
  • 河南网站建设37518沈阳网站推广运营公司
  • 网站跳转链接生成商务网站开发的基本流程
  • 织梦后台点击网站主页百度分享 wordpress