shell命令

1 执行shell命令

1      :!command      暂停vi,执行制定的shell命令

2      :!! pause vi      执行上一条shell命令

3      :sh              暂停vi,启动一个新的shell

4      :!csh           暂停vi,启动一个新的c-shell

2 使用shell命令处理数据

1      n!! command          对n行数据执行command

2      !move command    对当前光标至move所指定的位置的数据执行command

3      !move fmt              格式化当前光标到move所指定的行

相关文章:

  • 2021-12-10
  • 2021-10-15
  • 2022-12-23
  • 2022-12-23
  • 2021-10-13
  • 2022-12-23
  • 2021-11-23
  • 2021-11-29
猜你喜欢
  • 2021-11-03
  • 2021-05-22
  • 2022-01-09
  • 2022-12-23
  • 2021-12-13
  • 2021-11-15
  • 2021-07-18
相关资源
相似解决方案