📅  最后修改于: 2022-03-11 14:51:27.636000             🧑  作者: Mango
# Given user is in Windows, using git bash
# Two commands put results of ipconfig in txt file for viewing
# In git bash use "-" instead of "/" for win terminal parameters
# Windows has clip.exe to copy output of terminal to clipboard
ipconfig -all | clip
# Open a file to view your ipconfig output
vim ipconfig.txt
# Press "p" to put the clipboard contents into the txt file