`
yangping_Account
  • 浏览: 187266 次
  • 性别: Icon_minigender_1
  • 来自: 无锡
社区版块
存档分类
最新评论

Dos 和linux 常用命令对照

阅读更多

Description MS-DOS Linux Linux Example
Copies files copy cp cp  this.txt   that.txt
Moves files move mv mv  this.txt   dir/
Lists files dir ls ls -l
Clears screen cls clear clear
Closes prompt window exit exit exit
Displays or sets date date date date
Deletes files del rm rm  this.txt
"Echoes" output on the screen echo echo echo  this message
Edits files with simple text editor edit pico pico  this.txt
Compares the contents of files fc diff diff  file1   file2
Finds a string of text in a file find grep grep  "this word or phrase"   this.txt
Formats a DOS diskette format a: mkfs mkfs.msdos /dev/fd0
Formats a Linux diskette N/A mkfs mkfs.ext2 /dev/fd0
Formats a Ext3 disk N/A mkfs mkfs.ext3 /dev/hda9
Mount a partition N/A mount mount /dev/hda9 /alt
Unmounts a partition N/A umount umount /alt
Shows mountpoints and types for all mounted drives N/A mount mount
Displays command help command   /? man/info man/info  command
Creates a directory mkdir mkdir mkdir  directory
View a file more more/less more/less  this.txt
Renames a file ren mv mv  this.txt   that.txt
Displays your location in the file system chdir pwd
echo $PWD
pwd
echo $PWD
Changes directories with a specified path(absolute path ) cd  pathname cd  pathname cd  /path/to/place/
Changes directories with a  relative path cd .. cd .. cd ../path/
Displays the time time date date
Shows amount of RAM in use mem free free
Shows amount of disk space used chkdsk df df -Th
Reboots the computer N/A shutdown shutdown -r now
Shuts down the computer N/A shutdown shutdown -h now
Print the Routing Table route print route
netstat -r
route -n
Print Networking Statistics netstat netstat netstat -nat
Print Networking Settings ipconfig ifconfig ifconfig eth0
Start/Start System Services net start/stop service service NAME start/stop service sshd restart
Disk Partitioning fdisk fdisk fdisk -l /dev/hda
DNS Query nslookup host host -a fortuitous.com
Ping a Host ping ping ping -c5 fortuitous.com
Trace Path to Host tracert traceroute traceroute fortuitous.com
Text Search in File find grep grep banana input.txt

分享到:
评论

相关推荐

    DOS和Linux常用命令的对比

    许多在shell提示下键入的Linux命令都与你在DOS下键入的命令相似。事实上,某些命令完全相同。本文对DOS和Linux常用命令作了详细的对比。

    DOS 常用命令DOS 常用命令DOS 常用命令

    DOS 下常用的命令DOS 常用命令DOS 常用命令DOS 常用命令

    dos常用命令dos常用命令dos常用命令dos常用命令

    dos常用命令dos常用命令dos常用命令dos常用命令dos常用命令dos常用命令dos常用命令

    DOS 和 Linux 常用命令的对比

    NULL 博文链接:https://tanghaidi.iteye.com/blog/505286

    常用DOS命令.ppt

    常用DOS命令.ppt常用DOS命令.ppt常用DOS命令.ppt常用DOS命令.ppt常用DOS命令.ppt常用DOS命令.ppt常用DOS命令.ppt常用DOS命令.ppt常用DOS命令.ppt常用DOS命令.ppt常用DOS命令.ppt常用DOS命令.ppt常用DOS命令.ppt常用...

    net常用dos命令 net常用dos命令 net常用dos命令

    net常用dos命令 net常用dos命令 net常用dos命令

    常用DOS命令常用DOS命令常用DOS命令

    常用 DOS 命令常用 DOS 命令常用 DOS 命令常用 DOS 命令常用 DOS 命令常用 DOS 命令常用 DOS 命令常用 DOS 命令

    常用DOS命令课件常用DOS命令课件

    常用DOS命令课件 常用DOS命令课件常用DOS命令课件常用DOS命令课件常用DOS命令课件

    Linux常用命令大全

    Linux常用命令大全 1 Linux的DOS-like命令 2 Linux特有的命令 3 Linux的多人多工命令 4 Linux常用的压缩及解压缩命令 5 Linux查找文件的相关命令 6 Linux常用的磁盘命令

    linux常用命令.doc

    Linux文件的复制、删除和移动命令 Linux目录的创建与删除命令 Linux文本处理命令  Linux备份与压缩命令 在Linux环境下运行DOS命令 Linux与用户有关的命令  Linux系统管理命令 Linux磁盘管理 

    dos操作系统常用命令

    dos操作系统常用命令 改变盘符 清屏 word文档

    Linux常用命令全集.rar

    Linux常用命令全集。Linux虽然是免费的,但它的确是一个非常优秀的操作系统,...下面,作为一个典型的DOS 和WINDOWS用户,让我们一起来学习Linux的一些主要命令,希望大家能尽快进入到Linux的世界里,成为玩转Linux高手

    DOS命令的常用命令和方法

    有有关DOS的常用命令关有关DOS的常用命令有关DOS的常用命令DOS有关DOS的常用命令的常用命令

    常用DOS命令常用DOS命令

    要想操作使用DOS,知道一些常用命令是非常重要的。以下是一些命令的用法。 文件名是由文件路径和文件名称合起来的,如C:\DOS\COMMAND.COM。 DIR 显示文件和文件夹(目录)。 用法:DIR [文件名] [选项] 它有很...

    Linux常用命令全集

    下面,作为一个典型的DOS 和WINDOWS用户,让我们一起来学习Linux的一些主要命令,希望大家能尽快进入到Linux的世界里,成为玩转Linux高手。

    DOS+Linux命令大全

    DOS命令大全 Linux命令大全 操作系统命令大全 含有三个文档

    DOS常用命令宝典DOS常用命令宝典

    DOS常用命令宝典DOS常用命令宝典DOS常用命令宝典DOS常用命令宝典DOS常用命令宝典DOS常用命令宝典DOS常用命令宝典DOS常用命令宝典DOS常用命令宝典

    DOS命令大全 DOS命令大全

    DOS命令大全DOS命令大全DOS命令大全DOS命令大全DOS命令大全DOS命令大全DOS命令大全DOS命令大全DOS命令大全DOS命令大全DOS命令大全DOS命令大全DOS命令大全DOS命令大全DOS命令大全DOS命令大全DOS命令大全DOS命令大全...

    DOS命令大全 DOS常用命令

    DOS命令大全 DOS常用命令 CMD命令

Global site tag (gtag.js) - Google Analytics