shell note】的更多相关文章

1 输出重定向:ll > aaa 将输出内容 添加到aaa文件中 ll >> aaa将输出内容追加到aaa中 ll &>> abc 将输出内容不论正确或错误都保存在aaa中 ll &> aaa 将输出内容不论正确或者错误都追加保存在aaa中 ll >> aaa 2>>bbb 正确输出保存在aaa文件中,错误输出保存在bbb中 2 多命令顺序执行 命令1;命令2 执行完命令1后执行命令2 :命令1的结果对命令2 没有影响 命令1&a…
adb shell as root after device rooted once device rooted, we must perform "su" before we get root permission in adb shell,this is not convenient in some situations,so there have a method to get permission without perform "su". adb shel…
https://developer.apple.com/library/mac/documentation/OpenSource/Conceptual/ShellScripting/shell_scripts/shell_scripts.html Writing a shell script is like riding a bike. You fall off and scrape your knees a lot at first. With a bit more experience, y…
Android Debug Bridge (adb) is a tool that lets you manage the state of an emulator instance or Android phone. ADB is bundled with Android SDK package that can be downloaded from Android SDK download page. This tool is usefull for communicating with A…

nvm

nvm install stable #安装最新稳定版 node,现在是 5.0.0 nvm install 4.2.2 #安装 4.2.2 版本 nvm install 0.12.7 #安装 0.12.7 版本 # 特别说明:以下模块安装仅供演示说明,并非必须安装模块 nvm use 0 #切换至 0.12.7 版本 npm install -g mz-fis #安装 mz-fis 模块至全局目录,安装完成的路径是 /Users/<你的用户名>/.nvm/versions/node/v0.1…
第一部分 windows下安装git 1.下载最新版本的git:直接百度“git”,如图所示,点击立即下载. 也可以直接在官网下载最新版本的git:http://www.git-scm.com/download/win(该链接是针对windows系统的下载) 可以根据与自己电脑的情况选择安装包下载 2.下载完成后,双击压缩包. 3.在弹出的安装界面点击“Next”. 4.一路使用默认设置,选择“Next”. 安装过程中,询问是否修改环境变量,选择“Use Git Bash Only”. 即只在m…
参考<Git权威指南>安装整理,图书配套网址参见[1] 1. Cygwin下安装配置Git 1. 在Windows下安装配置Git有2种不同的方案 (1)msysGit, (2)Cygwin下使用Git. 作者推荐在Cygwin下使用Git,因为在Cygwin下很容易获得与Git使用相关的一些开源工具.而msysGit不能满足这个需求. 2. 首先要安装Cygwin 初次安装Cygwin时建议全部安装,这样就不会出现一些缺少模块的错误,而且Git也会被一同安装上,新手使用,比较省心. 3. 忽…
http://ant.apache.org/manual/Tasks/exec.html Exec Description Executes a system command. When the os attribute is specified, then the command is only executed when Apache Ant is run on one of the specified operating systems. Note that you cannot inte…
如何快速搭建 node 开发环境 npm 超慢 github 无法打开的问题 于是我觉得应该写一篇文章解答所有这些起步问题,让新同学也能顺顺利利入门. 快速搭建 Node.js 开发环境 如果你想长期做 node 开发, 或者想快速更新 node 版本, 或者想快速切换 node 版本, 那么在非 Windows(如 osx, linux) 环境下, 请使用 nvm 来安装你的 node 开发环境, 保持系统的干净. 如果你使用 Windows 做开发, 那么你可以使用 nvmw 来替代 nvm…
By default, queries in MongoDB return all fields in matching documents. To limit the amount of data that MongoDB sends to applications, you can include a projection document in the query operation. Projection Document The projection document limits t…