服务器 Gind.cn
  • Linux
  • Windows
  • Ubuntu
  1. 服务器 Gind.cn
  2. mac osx unix
  3. 读取文件的input
Intereting Posts
服务器上的主机名问题 将Windows 7 ProfessionaljoinWindows Server 2003 R2 x64域失败 如何让Prosody使用TLS 1.2? 上传限制在IIS 7中 从远程FTP服务器解压.tar.gz文件中的选定文件? 通过IP地址设置DNS服务器 是否有Apache的ProxyPreserveHost的IIS 7应用程序请求路由equivilent? 如果在同一台机器上托pipe多个服务器,如何设置主机名? MacOSX服务器之间的专用networking接口 USB设备不在domU中显示 如何禁用Windows 7家庭版的“密码永不过期”? 只有使用cURL获取数据时,DNSparsing速度才会很慢 AWS Direct Connect – 多样化的Internetpath 最常见的Unix / Linuxshell Postfix每天重复发送两次相同的消息

读取文件的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