常用
logoff 登出
appwiz.cpl 新增移除程式
notepad 記事本
explorer 檔案總管
gpedit.msc 本機群組原則
netplwiz 啟用開機不輸入密碼自動登入
logoff 登出
appwiz.cpl 新增移除程式
notepad 記事本
explorer 檔案總管
gpedit.msc 本機群組原則
netplwiz 啟用開機不輸入密碼自動登入
sudo vim /usr/bin/pip3
from pip import main
if __name__ == '__main__':
sys.exit(main())
from pip import __main__
if __name__ == '__main__':
sys.exit(__main__._main())
sudo dpkg-reconfigure tzdata date
建立環境
conda create -n envName
conda create -n envName python=3
進入環境
source activate envName #在base底下要切換的話用這組
conda activate envName #通常用這組可以通吃
安裝套件
conda install packageName
套件列表
conda list
離開環境
conda deactivate
#ubuntu只顯示資料夾
ls -d */
Show-Command get-childitem
New-Item testfolder -ItemType Directory
Set-Location -Path HKCU:
&
所以完整語法
$Path = "C:\Program Files (x86)\Google\Chrome\Application\chrome.exe"
$parm = "http://tw.yahoo.com http://www.pchome.com.tw"
$Parms = $Parm.Split(" ")
& $Path $parms
Get-Alias 可以看到所有的對應表
Get-Alias DIR 可以看到 這個指令的別名
Get-Command | Measure-Object 可以計算命令的加總數量
Get-Command *service* 尋找
Update-Help
Get-EventLog
[-LogName] <string>
[[-InstanceId] <long[]>]
[-ComputerName <string[]>]
[-Newest <int>][-After <datetime>]
[-Before <datetime>]
[-UserName <string[]>]
[-Index <int[]>][-EntryType <string[]>]
[-Source <string[]>]
[-Message <string>]
[-AsBaseObject][<CommonParameters>]
[-LogName] <string> 為必選,因沒有用中括號 [ ] 將 指令及參數包起來
[-ComputerName <string[]>] 為可選,因為使用了 [ ] 將指令及參數包起來
[[-InstanceId] <long[]>] 同上,為可選,但InstanceId 又用了中括號包起來,表示此參數又為可選,
又稱定位參數,在輸入時可以省略-InstanceId 不用打,直接輸入參數,但須注意參數的位置
| Form | Meaning |
| [[-Param] T] | Optional parameter of type T with the name optional |
| [-Param T] | Optional parameter of type T with the name required |
| -Param T | Required parameter of type T |
| [-Param] | A switch (flag) |
| 代碼 | 名稱 |
| 2004 | 臺灣銀行 |
| 20040037 | 營業部 |
| 20040059 | 公庫部 |
| 20040071 | 館前分行 |
| 2004093 | 臺南分行 |
| 20040107 | 臺中分行 |
| 20040118 | 高雄分行 |