windows powershell 命令

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

 

posted on 2015-08-07 10:46  z.paully  阅读(548)  评论(0编辑  收藏  举报