服务器 Gind.cn
  • Linux
  • Windows
  • Ubuntu
  1. 服务器 Gind.cn
  2. mac osx unix
  3. 读取文件的input
Intereting Posts
UFW在开放端口logging被阻止的请求,我错过了什么? 使用TLS = GnuTLSconfigurationOpenLDAP =必需 CUPS默默地保持共享我的打印机 – 为什么? 从域外的客户端到服务器的RDP VLAN中的默认网关 如何连接到本地SQL Server? PERC 5 / i集成控制器是否支持SATA II / III? 通过SSH访问共享主机上的mercurial存储库 如何清除nginxcaching 安装IIS7angular色服务时出错代码0x80070643 Hyper-V端口转发 获得内部authentication机构信任的成本 安装自动更新在生产Windows 2003服务器上 奇怪的libvirt / KVM的问题,破坏实例? 怎样才能改变linux系统的默认字符集?

读取文件的input

我正在寻找与cat相反的unix命令(但不是tac )。

我想要做

 $ SOMECOMMAND /tmp/file I type some content for the file here ^D $ cat /tmp/file I type some content for the file here $ 

所以,我实际上input了'我input了一些内容…',然后将其写入到文件中。 而在你提出这个build议之前,是的,我非常了解编辑 – 只是寻找速记。

  • OSX虚拟机VPS
  • 我的'export PATH ='缺less什么?
  • sudo mv失败,“操作不允许”
  • 脚本来复制文件,而不是在mac上login
  • Snow Leopard升级后禁止Mod_rewrite(CakePHP路由function)

  • dig从DNS服务器得到正确的结果,但名称仍然无法解决
  • OSX:撤消CHMOD
  • 如何在Mac OS X上重置密码?
  • 8核2.93GHz Xserve
  • 无法解决的DNS情况?

cat的对面是cat 。

 $ cat > /tmp/file I type some content for the file here ^D $ cat /tmp/file I type some content for the file here $ 
  • 解密Cisco VPN组密码
  • ssh突然停止在Mac上工作
  • 苹果 – AirPort Extreme – VPN Mac OS X
  • OS X使用login脚本挂载Samba共享 – 使用Open LDAP
  • Ubuntu服务器PPTPD与OS X客户端的问题
  • 如何确定是否安装了opendiff?
  • 在OS X Lion / Mountain Lion(OS X 10.7,10.8)上无人值守无提示安装Java
  • Ubuntu 12.04服务器 – eth0 1Gbps网卡eth1 10Gbps网卡 – 使用eth0的所有stream量?
  • 在混合环境中使用OpenLDAP身份validation
  • 为什么OS X花费更多的数据包来build立和closuresTCP连接?

  • © 2017 服务器 Gind.cn
  • Topics
  •        
  • Powered by Server
  • Privacy Policy