基因组信息挖掘分享 http://blog.sciencenet.cn/u/hsm 基因组像无标点的天书,需要慢慢理解,慢慢加标点。

博文

[转载]windows与linux命令对应表

已有 2409 次阅读 2020-7-19 09:30 |系统分类:科研笔记|文章来源:转载

Windows commandUnix commandNotes
arparp
assignlnCreate a file link
assignln -sOn Unix, a directory may not have multiple links, so instead a symbolic link must be created with ln -s.
assocfile
atat
batch
cron
See also schtasks.
attribchown
chmod
Sets ownership on files and directories
cdcdOn Windows, cd alone prints the current directory, but on Unix cd alone returns the user to his home directory.
cdpwdOn Windows, cd alone prints the current directory.
chkdskfsckChecks filesystem and repairs filesystem corruption on hard drives.
clsclear
Control-L
Clear the terminal screen
copycp
date
time
dateDate on Unix prints the current date and time. Date and time on Windows print the date and time respectively, and prompt for a new date or time.
delrm
deltreerm -rRecursively deletes entire directory tree
dirls"dir" also works on some versions of Unix.
doskey /h
F7 key
historyThe Unix history is part of the Bash shell.
editvi
emacs
etc.
edit brings up a simple text editor in Windows. On Unix, the environment variable EDITOR should be set to the user's preferred editor.
exitexit
Control-D
On Unix, pressing the control key and D simultaneously logs the user out of the shell.
explorernautilus
etc.
The command explorer brings up the file browser on Windows.
fcdiff
findgrep
ftpftp
helpman"help" by itself prints all the commands
hostnamehostname
ipconfig /allifconfig -aThe /all option lets you get the MAC address of the Windows PC
memtopShows system status
mkdirmkdir
moremore
less

movemv
net sessionw
who

net statisticsuptime
nslookupnslookup
pingping
printlprSend a file to a printer.
reboot
shutdown -r
shutdown -r
regeditedit /etc/*The Unix equivalent of the Windows registry are the files under /etc and /usr/local/etc. These are edited with a text editor rather than with a special-purpose editing program.
rmdirrmdir
rmdir /srm -rWindows has a y/n prompt. To get the prompt with Unix, use rm -i. The i means "interactive".
schtasksat
batch
cron

setenv

Set on Windows prints a list of all environment variables. For individual environment variables, set <variable> is the same as echo $<variable> on Unix.

set Pathecho $PATHPrint the value of the environment variable using set in Windows.
shutdownshutdownWithout an option, the Windows version produces a help message
shutdown -sshutdown -hAlso need -f option to Windows if logged in remotely
sortsort
start&On Unix, to start a job in the background, use command &. On Windows, the equivalent is start command. See How to run a Windows command as a background job like Unix ?.
systeminfouname -a
tasklistps"tasklist" is not available on some versions of Windows. See also this article on getting a list of processes in Windows using Perl
title?In Unix, changing the title of the terminal window is possible but complicated. Search for "change title xterm".
tracerttraceroute
treefind
ls -R
On Windows, use tree | find "string"
typecat
veruname -a
xcopycp -RRecursively copy a directory tree




https://wap.sciencenet.cn/blog-442719-1242614.html

上一篇:[转载]linux locale设置
下一篇:如何让notepad不自动加扩展名
收藏 IP: 171.43.250.*| 热度|

该博文允许注册用户评论 请点击登录 评论 (0 个评论)

数据加载中...
扫一扫,分享此博文

全部作者的精选博文

Archiver|手机版|科学网 ( 京ICP备07017567号-12 )

GMT+8, 2022-12-6 18:38

Powered by ScienceNet.cn

Copyright © 2007- 中国科学报社

返回顶部