root@vic2cc:~/vim_practice# awk 'NR==FNR{a[NR]=$0} NR!=FNR{print a[FNR],$0}' acc res     
001 wx nt1
002 wx ne2
003 wx ne3
root@vic2cc:~/vim_practice# awk '{a[NR]=$0} NR!=FNR{print a[FNR],$0}' acc res        
001 wx nt1
002 wx ne2
003 wx ne3
root@vic2cc:~/vim_practice# awk 'FILENAME=="acc"{a[NR]=$0}FILENAME=="res"{print a[FNR],$0}' acc res
001 wx nt1
002 wx ne2
003 wx ne3

some op record

iptables must have the double channel for communication


pip install psutil -i –trusted-host


salt '' "python /tmp/" –async

salt "" saltutil.kill_job 20171127165031008707

sudo salt '*' grains.item saltpath username os

saltutil.sync_modules refresh

sudo salt-run jobs.list_job 'jobid'

kill salt progress and restsart in front

launchctl unload /Library/LaunchDaemons/com.saltstack.salt.minion.plist


maybe the salt should run in front while meeting some error

rsync pay attention the rsync.pas auth 644

check last update node info by salt in 86 cdn manager:

sudo salt -N cdn_node_all "grep -o '/raid/wwwroot/Q7/win/enginepatch' /opt/cdnsynctool/CDNSyncTool/common/"

check salt start user auth, and launchctl unload and restart

powershell about

svn st | select-string -pattern "^C"

svn revert -R .\image

About Windows


MSYS2 is a software distro and building platform for Windows.
At its core is an independent rewrite of MSYS, 
based on modern Cygwin (POSIX compatibility layer) and 
MinGW-w64 with the aim of better interoperability with native Windows software. 
It provides a bash shell, Autotools, 
revision control systems and the like for building native Windows applications 
using MinGW-w64 toolchains.
It features a package management system to 
provide easy installation of packages, Pacman. 
It brings many powerful features such as dependency resolution 
and simple complete system upgrades, as well as straight-forward package building.

Reference from: MSYS2 installer

This is the download link in TUNA: Index of /msys2/distrib/x86_64/