Unix shell

1.

TITLE hello world

Time
ver
exit
cls
FC /N C:\Test\a.txt C:\Test\b.txt
comp /A /D C:\Test\a.txt C:\Test\b.txt
tree C:\Test

attrib +R +H +S C:\Test\a.txt /S /D

Find "aaacd" C:\Test\a.txt


spac: software installation management

conf :net meeting


ls -tl|head by default, displays the first 10 line of text.


ls -tl|100 display the fist 100 lines



2.

problem of "find" in cygwin
FIND: Parameter format not correct

There is confusion between System32 "find" and cygwin's /usr/bin/find. The desired find is cygwin's. This is caused by Path ordering. A few possible solutions are possible:

temporarily rename system32/find.exe
make sure cygwin path entry comes before system32 path entry


3. less * | grep teststring


4.

net use t: \\apaccmhkap019\eqtg


5.

set the display width of SSH-client:
---------------------------------
setenv DISPLAY ipaddress:0.0
---------------------------------
net view \\apaccmhkap019

nbtstat -n/-a

route print

tracert apaccmhkap019

arp -a



ipconfig /all
ipconfig /release
ipconfig /renew

netstat -n
netstat -r
netstat -e
netstat -s
netstat -ano

ping apac.nsroot.net [domain]
ping 127.0.0.1 -n 6

ping 127.0.0.1 -t

ping -a 10.107.19.70


nslookup -qt=ISDN apac.nsroot.net
nslookup -qt=MB apac.nsroot.net
nslookup -qt=CNAME apac.nsroot.net
nslookup -qt=ns apac.nsroot.net
nslookup -qt=mx apac.nsroot.net
nslookup apac.nsroot.net
nslookup



發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章