標籤:
Windows
pwd
print working directory //當前路徑
hostname
my computer‘s network name //電腦名稱
mkdir
make directory //建立檔案夾
cd
change directory 改變路徑
Cd.. //向上路徑
ls
list directory //路徑列表
rmdir
remove directory 刪除檔案夾
pushd
push directory //保留當前路徑 直接跳轉至另一路徑
popd
pop directory //回到保留的路徑
cp
copy a file or directory //複製
robocopy
robust copy
mv
move a file or directory //重新命名
more
page through a file 顯示檔案內容
rm
removing a file //刪除檔案
type
print the whole file
forfiles
run a command on lots of files
dir -r
find files //尋找檔案
select-string
find things inside files //從某個檔案尋找字串
help
read a manual page //協助
help *XXX* // 包含有*XXX*的所有命令
helpctr
find what man page is appropriate
echo
print some arguments
set
export/set a new environment variable
exit
exit the shell
runas
DANGER! become super user root DANGER!
attrib
change permission modifiers
iCACLS
change ownership
windows powershell 命令