当前位置: 首页 > Linux

Unix-Linux和MS-DOS指令对照表

时间:2023-04-06 20:35:38 Linux

操作Unix/Linux(Bash)Windows(MS-DOS)Example进入目录cdcdcd/path/to/target创建目录mkdirmdmkdirfolderName当前目录pwdcdpwd显示目录lsdirls删除目录rmdelrm-r/path/to/target打印文件lpprintlp/path/to/filecreatefiletouchtouchfileNamecopyfilecpcopycopyfileNamefileNameAliasfindfilefindmovefilemvrenmv/path/to/originpath/to/target命令查询manhelpmanps显示环境变量envsetenv设置环境变量setenvsetsetenv打印文件lpprintlp/path/to/file更改密码passwd-*如有错误请指正