https://github.com/PowerShell/Win32-OpenSSH/releases/download/v8.1.0.0p1-Beta/OpenSSH-Win64.zip 本次是直接解压到c:\openssh目录 到C:\Windows\System32\WindowsPowerShell\v1.0目录下,管理员身份运行powershell.exe,然后切换到 c:\openssh 目录下执行以下命令进行安装openssh powershell.exe -ExecutionPoli...
下载openssh https://github.com/PowerShell/Win32-OpenSSH/releases https://github.com/PowerShell/Win32-OpenSSH/releases/download/v8.1.0.0p1-Beta/OpenSSH-Win64.zip 本次是直接解压到c:\openssh目录 到C:\Windows\System32\WindowsPowerShell\v1.0目录下,管理员身份运行powershell.exe,执行以下命令进行安...
步骤有,首先Windows用户打开Powershell,一个蓝色的界面,注意不是cmd!不知道的直接打开window下面的搜索,然后输入powershell,搜索出来就可以了。 $env:GO111MODULE=“on” $env:GOPROXY=“” go env -w GOPROXY= go env -w GOPRIVATE=*.corp.example点抗 然后我们打开VsCode界面,下面会提示安装插件,我们选择Inst...
Linux-Shell编程 当在windows编写的shell脚本需要在LInux 上运行,需要运行dos2unix命令进行格式转换,反之使用unix2dos comond &>>/dev/null :不论命令执行结果正确与否,将结果进行丢弃。/dev/null 特殊目录,类似于Windows的垃圾桶,区别在于不可恢复数据 输入重定向: 推荐方法: 系统中所有的环境变量文件:... ...
Linux-Shell编程 当在windows编写的shell脚本需要在LInux 上运行,需要运行dos2unix命令进行格式转换,反之使用unix2dos comond &>>/dev/null :不论命令执行结果正确与否,将结果进行丢弃。/dev/null 特殊目录,类似于Windows的垃圾桶,区别在于不可恢复数据 输入重定向: 推荐方法: 系统中所有的环境变量文件:... ...
{shell_profile}"mkdir-p $GOPATH/{src,pkg,bin}echo-e"\nGo $VERSION was installed into $GOROOT.\nMake sure to relogin into your shell or run:"echo-e"\n\tsource $HOME/.${shell_profile}\n\nto update your environment variables."echo"Tip: Opening a new terminal window usually just ...
fzf-tmux脚本,用于在tmux窗格中启动fzf; Shell扩展:支持按键绑定(CTRL-T,CTRL-R和ALT-C),支持bash,zsh,fish。 模糊自动补全,支持bash,zsh。 Vim/Neovim插件。 其中,fzf可执行文件是必须的,其他组件依赖于它。如果不需要其他组件,可以单独下载fzf可执行文件运行。
golang-monitor-file 是用go语言开的监控文件是否变化,如果变化自动执行 所设定的命令,可以是 系统命令或shell脚本等。 示例 可在Ubuntu14下直接运行已经编译好的可执行文件。也可自行下载源码进行编译运行。 git clone $build ./golang-monitor-file --name RREADME.md --cmd ./family_start.sh 参数说明 na...
shell build-in commands echo & test timeout support Examples are important: sh: echo hello go: sh.Command("echo", "hello").Run() sh: export BUILD_ID=123 go: s = sh.NewSession().SetEnv("BUILD_ID", "123") sh: alias ll='ls -l' go: s = sh.NewSession().Alias('ll', 'ls...
golang window程序崩溃 最近遇到一个问题,程序在window上运行,运行一段时间后就会崩溃,以下是崩溃时捕捉到的日志 Exception 0xc0000005 0x1 0x24 0x7ff940d734f6 PC=0x7ff940d734f6 signal arrived during external code execution runtime.cgocall(0x3bb620, 0xc00007b408) D:/software/golang/an/src/run...